summaryrefslogtreecommitdiffstats
path: root/mbbsd/io.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-21 20:34:15 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-21 20:34:15 +0800
commit355d1dcde948b4226f1f11dfc45952aa6851a176 (patch)
tree9c14f10fa575032aaaae4ff6a33469e1345a51f7 /mbbsd/io.c
parent8649e4efe65373700682ff66e3cbff8b09fcabec (diff)
downloadpttbbs-355d1dcde948b4226f1f11dfc45952aa6851a176.tar
pttbbs-355d1dcde948b4226f1f11dfc45952aa6851a176.tar.gz
pttbbs-355d1dcde948b4226f1f11dfc45952aa6851a176.tar.bz2
pttbbs-355d1dcde948b4226f1f11dfc45952aa6851a176.tar.lz
pttbbs-355d1dcde948b4226f1f11dfc45952aa6851a176.tar.xz
pttbbs-355d1dcde948b4226f1f11dfc45952aa6851a176.tar.zst
pttbbs-355d1dcde948b4226f1f11dfc45952aa6851a176.zip
- refresh screen after changing window size
- fix getdata() clrtoeol issue git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3720 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/io.c')
-rw-r--r--mbbsd/io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/io.c b/mbbsd/io.c
index 6916322a..17eb837b 100644
--- a/mbbsd/io.c
+++ b/mbbsd/io.c
@@ -700,6 +700,7 @@ oldgetdata(int line, int col, const char *prompt, char *buf, int len, int echo)
// workaround poor terminal
move_ansi(line, col);
getyx(&line, &col);
+ clrtoeol();
// (line, col) are real starting address