diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-12 23:19:35 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-12 23:19:35 +0800 |
commit | 30b08ca27e39588cde705a96381a9643d534351e (patch) | |
tree | 1bedbe59d526d855b73aae6200cebb33ea7da561 /mbbsd/term.c | |
parent | 728e27e6f357fa2e00177f949ffed0d830fd004d (diff) | |
download | pttbbs-30b08ca27e39588cde705a96381a9643d534351e.tar pttbbs-30b08ca27e39588cde705a96381a9643d534351e.tar.gz pttbbs-30b08ca27e39588cde705a96381a9643d534351e.tar.bz2 pttbbs-30b08ca27e39588cde705a96381a9643d534351e.tar.lz pttbbs-30b08ca27e39588cde705a96381a9643d534351e.tar.xz pttbbs-30b08ca27e39588cde705a96381a9643d534351e.tar.zst pttbbs-30b08ca27e39588cde705a96381a9643d534351e.zip |
(internal code refine)
- drop deprecated EDIT_ITEM, standout(), standend()
- replace outmsglr() with vfooter().
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4147 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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'); -} |