diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-06 13:03:41 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-06 13:03:41 +0800 |
commit | 01cae7cc0030e26ce53c5743fc0dccc4aa7bf683 (patch) | |
tree | 387b16397b214d8ae40ac24672149f4a3b035418 /mbbsd/read.c | |
parent | ff24026ce0222c9b0bc78ee075dd0ca9bb50c193 (diff) | |
download | pttbbs-01cae7cc0030e26ce53c5743fc0dccc4aa7bf683.tar pttbbs-01cae7cc0030e26ce53c5743fc0dccc4aa7bf683.tar.gz pttbbs-01cae7cc0030e26ce53c5743fc0dccc4aa7bf683.tar.bz2 pttbbs-01cae7cc0030e26ce53c5743fc0dccc4aa7bf683.tar.lz pttbbs-01cae7cc0030e26ce53c5743fc0dccc4aa7bf683.tar.xz pttbbs-01cae7cc0030e26ce53c5743fc0dccc4aa7bf683.tar.zst pttbbs-01cae7cc0030e26ce53c5743fc0dccc4aa7bf683.zip |
Large Terminal Rules
New api: *lr family calls are used to pad and fir terminal width.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2996 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/read.c')
-rw-r--r-- | mbbsd/read.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mbbsd/read.c b/mbbsd/read.c index 79b09708..a9964e65 100644 --- a/mbbsd/read.c +++ b/mbbsd/read.c @@ -1014,9 +1014,13 @@ i_read(int cmdmode, const char *direct, void (*dotitle) (), for( i = 0; i < entries ; i++ ) (*doentry) (locmem->top_ln + i, &headers[i]); case READ_REDRAW: - outmsg(curredit & EDIT_ITEM ? - ANSI_COLOR(44) " 私人收藏 " ANSI_COLOR(30;47) " 繼續? " ANSI_RESET : - curredit & EDIT_MAIL ? msg_mailer : MSG_POSTER); + if(curredit & EDIT_ITEM) + outmsglr(ANSI_COLOR(44) " 私人收藏 " ANSI_COLOR(30;47), 10, + " 繼續? ", 7); + else if (curredit & EDIT_MAIL) + outmsglr(MSG_MAILER, MSG_MAILER_LEN, "", 0); + else + outmsglr(MSG_POSTER, MSG_POSTER_LEN, "", 0); break; case TITLE_REDRAW: (*dotitle) (); |