From 1f84b35094953975bfd0bb9d028b9dc17adbd273 Mon Sep 17 00:00:00 2001 From: scw Date: Sun, 18 Jul 2004 11:33:59 +0000 Subject: 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 --- mbbsd/stuff.c | 8 ++++---- 1 file 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(); -- cgit v1.2.3