diff options
Diffstat (limited to 'mbbsd/term.c')
-rw-r--r-- | mbbsd/term.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/mbbsd/term.c b/mbbsd/term.c index 4868415a..dffe7d79 100644 --- a/mbbsd/term.c +++ b/mbbsd/term.c @@ -76,43 +76,3 @@ term_init(void) return YEA; } -void -do_move(int destcol, int destline) -{ - char buf[16], *p; - - snprintf(buf, sizeof(buf), ANSI_MOVETO(%d,%d), destline + 1, destcol + 1); - for (p = buf; *p; p++) - ochar(*p); -} - -void -save_cursor(void) -{ - ochar(ESC_CHR); - ochar('7'); -} - -void -restore_cursor(void) -{ - ochar(ESC_CHR); - ochar('8'); -} - -void -change_scroll_range(int top, int bottom) -{ - char buf[16], *p; - - snprintf(buf, sizeof(buf), ESC_STR "[%d;%dr", top + 1, bottom + 1); - for (p = buf; *p; p++) - ochar(*p); -} - -void -scroll_forward(void) -{ - ochar(ESC_CHR); - ochar('D'); -} |