diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-06 19:03:14 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-06 19:03:14 +0800 |
commit | 525ac36db85be7dd442b654f789582fa12dab91e (patch) | |
tree | 30948211b18de9dd6ca37efe0002b83f0fcf8f8c /mbbsd/user.c | |
parent | 0480bbc1fe207b2d056b522f1e64423dc1dffbad (diff) | |
download | pttbbs-525ac36db85be7dd442b654f789582fa12dab91e.tar pttbbs-525ac36db85be7dd442b654f789582fa12dab91e.tar.gz pttbbs-525ac36db85be7dd442b654f789582fa12dab91e.tar.bz2 pttbbs-525ac36db85be7dd442b654f789582fa12dab91e.tar.lz pttbbs-525ac36db85be7dd442b654f789582fa12dab91e.tar.xz pttbbs-525ac36db85be7dd442b654f789582fa12dab91e.tar.zst pttbbs-525ac36db85be7dd442b654f789582fa12dab91e.zip |
- fixed: peek_input keeps waiting for new input. (due to buf control)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3799 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r-- | mbbsd/user.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index c68dc5b3..182f8610 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -2062,7 +2062,8 @@ int u_detectDBCSAwareEvilClient() * years) of num_in_buf forced me to write new wait_input. * Anyway it is fixed now. */ - if(wait_input(0.1, 1)) + refresh(); + if(wait_input(0.1, 0)) // if(igetch() == ch) // if (num_in_buf() > 0) { |