diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-20 10:32:47 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-20 10:32:47 +0800 |
commit | c59bf02ff790783b96f3c61e2c6f44d1390da42f (patch) | |
tree | 8408e42eb973079d7e250587d046cbb2da4e60fa /mbbsd | |
parent | d6adb27e4e3a8d29d3f69fad30a6e42b3a192955 (diff) | |
download | pttbbs-c59bf02ff790783b96f3c61e2c6f44d1390da42f.tar pttbbs-c59bf02ff790783b96f3c61e2c6f44d1390da42f.tar.gz pttbbs-c59bf02ff790783b96f3c61e2c6f44d1390da42f.tar.bz2 pttbbs-c59bf02ff790783b96f3c61e2c6f44d1390da42f.tar.lz pttbbs-c59bf02ff790783b96f3c61e2c6f44d1390da42f.tar.xz pttbbs-c59bf02ff790783b96f3c61e2c6f44d1390da42f.tar.zst pttbbs-c59bf02ff790783b96f3c61e2c6f44d1390da42f.zip |
- clear input line when getting pssword in new visio.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4213 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/visio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mbbsd/visio.c b/mbbsd/visio.c index dfc9975c..2893bf01 100644 --- a/mbbsd/visio.c +++ b/mbbsd/visio.c @@ -939,6 +939,10 @@ vgetstring(char *_buf, int len, int flags, const char *defstr, const VGET_CALLBA // move to cursor position move(line, col+icurr); + } else { + // to simulate the "clrtoeol" behavior... + // XXX make this call only once? or not? + clrtoeol(); } c = vkey(); |