summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-07-18 19:33:59 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-07-18 19:33:59 +0800
commit1f84b35094953975bfd0bb9d028b9dc17adbd273 (patch)
tree59564ba550fe0c832978831a48cc8f8dff2bf41f
parent8d946a920a9cb6313ff53d040400fa58f441a25b (diff)
downloadpttbbs-1f84b35094953975bfd0bb9d028b9dc17adbd273.tar
pttbbs-1f84b35094953975bfd0bb9d028b9dc17adbd273.tar.gz
pttbbs-1f84b35094953975bfd0bb9d028b9dc17adbd273.tar.bz2
pttbbs-1f84b35094953975bfd0bb9d028b9dc17adbd273.tar.lz
pttbbs-1f84b35094953975bfd0bb9d028b9dc17adbd273.tar.xz
pttbbs-1f84b35094953975bfd0bb9d028b9dc17adbd273.tar.zst
pttbbs-1f84b35094953975bfd0bb9d028b9dc17adbd273.zip
Put an ascii charactor before curses to avoid some client
send two 'left' when user actually pressed only one. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2142 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/stuff.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c
index b605c018..3a8a8dd5 100644
--- a/mbbsd/stuff.c
+++ b/mbbsd/stuff.c
@@ -411,8 +411,8 @@ vmsg_lines(const int lines, const char msg[])
if (msg)
outs((char *)msg);
else
- outs("\033[1;34;44m▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄\033[0;37;44m 請按 "
-"\033[32m任意鍵 \033[37m繼續 \033[1;34m▄▄▄▄▄^T 收錄暫存檔▄▄▄▄\033[m");
+ outs("\033[1;34;44m ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄\033[0;37;44m 請按 "
+"\033[32m任意鍵 \033[37m繼續 \033[1;34m▄▄▄▄▄^T 收錄暫存檔▄▄▄ \033[m");
do {
if( (ch = igetch()) == Ctrl('T') )
@@ -430,8 +430,8 @@ pressanykey_or_callangel(){
int ch;
outmsg(
-"\033[1;34;44m▄▄▄▄ \033[32mH \033[34m呼叫小天使 ▄▄▄▄\033[0;37;44m 請按 "
-"\033[32m任意鍵 \033[37m繼續 \033[1;34m▄▄▄▄▄^T 收錄暫存檔▄▄▄▄\033[m");
+"\033[1;34;44m ▄▄▄▄ \033[32mH \033[34m呼叫小天使 ▄▄▄▄\033[0;37;44m 請按 "
+"\033[32m任意鍵 \033[37m繼續 \033[1;34m▄▄▄▄▄^T 收錄暫存檔▄▄▄ \033[m");
do {
ch = igetch();