From c59bf02ff790783b96f3c61e2c6f44d1390da42f Mon Sep 17 00:00:00 2001 From: piaip Date: Sun, 20 Apr 2008 02:32:47 +0000 Subject: - 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 --- mbbsd/visio.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mbbsd') 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(); -- cgit v1.2.3