diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-24 00:26:20 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-24 00:26:20 +0800 |
commit | 91f6682a7690a4dd6ae160804b2009a0a98f8122 (patch) | |
tree | d82c7c3071bd444ac397ad7f14e247be031914d3 /mbbsd/talk.c | |
parent | b640fe2c00e591888ecc1ca594e5e51336c3bf44 (diff) | |
download | pttbbs-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/talk.c')
-rw-r--r-- | mbbsd/talk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 818591dc..92053e60 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -512,7 +512,7 @@ my_write2(void) which = 0; do { - switch ((ch = igetkey())) { + switch ((ch = igetch())) { case Ctrl('T'): case KEY_UP: if (water_usies != 1) { @@ -1055,7 +1055,7 @@ do_talk(int fd) add_io(fd, 0); while (1) { - ch = igetkey(); + ch = igetch(); if (ch == I_OTHERDATA) { datac = recv(fd, data, sizeof(data), 0); if (datac <= 0) |