summaryrefslogtreecommitdiffstats
path: root/mbbsd/edit.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-28 23:06:16 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-28 23:06:16 +0800
commitc0dd6835cc9f376ad6f195bad2daacff12b5efd9 (patch)
tree424ea7c2335aa863f8fdc634a0f6b17da8b2641a /mbbsd/edit.c
parent4621028ffd6a8acbc2bc76c528f11315812c7049 (diff)
downloadpttbbs-c0dd6835cc9f376ad6f195bad2daacff12b5efd9.tar
pttbbs-c0dd6835cc9f376ad6f195bad2daacff12b5efd9.tar.gz
pttbbs-c0dd6835cc9f376ad6f195bad2daacff12b5efd9.tar.bz2
pttbbs-c0dd6835cc9f376ad6f195bad2daacff12b5efd9.tar.lz
pttbbs-c0dd6835cc9f376ad6f195bad2daacff12b5efd9.tar.xz
pttbbs-c0dd6835cc9f376ad6f195bad2daacff12b5efd9.tar.zst
pttbbs-c0dd6835cc9f376ad6f195bad2daacff12b5efd9.zip
* new keyboard input framework: vtkbd
* BS/BS2 is now merged to BS. * DEL/Ctrl-D is not mreged. * pager code (waterball) is a little refined but still far from good. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4887 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r--mbbsd/edit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index f39280d4..676fc7de 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -3931,8 +3931,7 @@ vedit2(const char *fpath, int saveheader, int *islocal, char title[STRLEN], int
case KEY_INS: /* Toggle insert/overwrite */
curr_buf->insert_mode ^= 1;
break;
- case KEY_BS:
- case KEY_BS2: /* backspace */
+ case KEY_BS: /* backspace */
block_cancel();
if (curr_buf->ansimode) {
curr_buf->ansimode = 0;