summaryrefslogtreecommitdiffstats
path: root/mbbsd/edit.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-24 00:26:20 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-24 00:26:20 +0800
commit91f6682a7690a4dd6ae160804b2009a0a98f8122 (patch)
treed82c7c3071bd444ac397ad7f14e247be031914d3 /mbbsd/edit.c
parentb640fe2c00e591888ecc1ca594e5e51336c3bf44 (diff)
downloadpttbbs-91f6682a7690a4dd6ae160804b2009a0a98f8122.tar
pttbbs-91f6682a7690a4dd6ae160804b2009a0a98f8122.tar.gz
pttbbs-91f6682a7690a4dd6ae160804b2009a0a98f8122.tar.bz2
pttbbs-91f6682a7690a4dd6ae160804b2009a0a98f8122.tar.lz
pttbbs-91f6682a7690a4dd6ae160804b2009a0a98f8122.tar.xz
pttbbs-91f6682a7690a4dd6ae160804b2009a0a98f8122.tar.zst
pttbbs-91f6682a7690a4dd6ae160804b2009a0a98f8122.zip
integrate igetkey igetch egetch
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1828 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r--mbbsd/edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index acc7bac0..897c7178 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -258,7 +258,7 @@ ask(char *prompt)
standout();
prints("%s", prompt);
standend();
- ch = igetkey();
+ ch = igetch();
move(0, 0);
clrtoeol();
return (ch);
@@ -1682,7 +1682,7 @@ vedit(char *fpath, int saveheader, int *islocal)
move(curr_window_line, ch);
if (!line_dirty && strcmp(line, currline->data))
strcpy(line, currline->data);
- ch = igetkey();
+ ch = igetch();
/* jochang debug */
if ((interval = (now - th))) {
th = now;