summaryrefslogtreecommitdiff
path: root/src/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.h')
-rw-r--r--src/core.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/core.h b/src/core.h
index aab2cde..823a57d 100644
--- a/src/core.h
+++ b/src/core.h
@@ -117,15 +117,6 @@ static inline void sc_move(struct term *t, int x, int y)
/* Advance cursor by n tab stops. */
void term_sc_tab(struct term *t, int n);
-/* Move cursor back one column. */
-static inline void sc_bs(struct term *t)
-{
- t->pending_wrap = false;
- if (t->cursor_x > 0)
- t->cursor_x--;
- term_row(t, t->cursor_y)->version++;
-}
-
/* Erase cells in span [from, to) on physical row y. */
static inline void sc_erase_span(struct term *t, int y, int from, int to)
{
@@ -136,12 +127,6 @@ static inline void sc_erase_span(struct term *t, int y, int from, int to)
t->scr.slot[p].version++;
}
-/* Scroll margins: top to bottom, n lines up or down. */
-void term_sc_scroll_region(struct term *t, int top, int bottom, int n, bool down);
-
-/* Scroll the active scroll region up or down by n lines (with history). */
-void term_sc_scroll(struct term *t, int n, bool down);
-
/* Restore saved cursor state and position. */
static inline void sc_restore_cursor(struct term *t, const struct term_saved_cursor *s)
{
@@ -159,12 +144,6 @@ void term_sc_decaln(struct term *t);
/* Reset screen and cursor state for full reset (RIS). */
void term_sc_reset(struct term *t);
-/* Set reverse video mode (DECSCNM). */
-void term_sc_set_reverse_video(struct term *t, bool enabled);
-
-/* Set autowrap mode (DECAWM). */
-void term_sc_set_autowrap(struct term *t, bool enabled);
-
/* Set cursor style (DECSCUSR). */
void term_sc_set_cursor_style(struct term *t, int ps);