summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-25 18:20:17 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-25 18:20:17 +0800
commitc8b988071cbd66574a6efbaa0cd7af3dbec5a3db (patch)
tree96029c6a3b4f4870decd6f47b61a99b299b95de9
parent8cb2775bb364a740a107fe74cc39d723fd63babc (diff)
downloadpttbbs-c8b988071cbd66574a6efbaa0cd7af3dbec5a3db.tar
pttbbs-c8b988071cbd66574a6efbaa0cd7af3dbec5a3db.tar.gz
pttbbs-c8b988071cbd66574a6efbaa0cd7af3dbec5a3db.tar.bz2
pttbbs-c8b988071cbd66574a6efbaa0cd7af3dbec5a3db.tar.lz
pttbbs-c8b988071cbd66574a6efbaa0cd7af3dbec5a3db.tar.xz
pttbbs-c8b988071cbd66574a6efbaa0cd7af3dbec5a3db.tar.zst
pttbbs-c8b988071cbd66574a6efbaa0cd7af3dbec5a3db.zip
r1850 igetch() in vmsg_lines() doesn't work :(
dirty hack here git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1851 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 4e5fa46c..ab542695 100644
--- a/mbbsd/stuff.c
+++ b/mbbsd/stuff.c
@@ -412,13 +412,13 @@ vmsg_lines(const int lines, const char msg[])
if (msg)
outs((char *)msg);
else
- outs("\033[46;1m \033[37m"
+ outs("\033[45;1m \033[37m"
"\033[200m\033[1431m\033[506m□ 請按 \033[33m(Space/Return)\033[37m 繼續 □\033[201m (^T) 收到暫存檔 \033[m");
- ch = igetch();
- if (ch == Ctrl('T')) {
+ do {
+ if( (ch = igetch()) == Ctrl('T') )
capture_screen();
- }
+ } while( (ch != ' ') && (ch != KEY_LEFT) && (ch != '\r') && (ch != '\n') );
move(lines, 0);
clrtoeol();