diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-06-04 16:23:18 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-06-04 16:23:18 +0800 |
commit | 4b4b6187731bf4d4817d3bf5bcd1efcdde26e04b (patch) | |
tree | 5d7345d4ebe5490bcb77021519db31a3633d93e9 /mbbsd/more.c | |
parent | 77fc10e4db19075fdc0b48bd5e584fa854d430a5 (diff) | |
download | pttbbs-4b4b6187731bf4d4817d3bf5bcd1efcdde26e04b.tar pttbbs-4b4b6187731bf4d4817d3bf5bcd1efcdde26e04b.tar.gz pttbbs-4b4b6187731bf4d4817d3bf5bcd1efcdde26e04b.tar.bz2 pttbbs-4b4b6187731bf4d4817d3bf5bcd1efcdde26e04b.tar.lz pttbbs-4b4b6187731bf4d4817d3bf5bcd1efcdde26e04b.tar.xz pttbbs-4b4b6187731bf4d4817d3bf5bcd1efcdde26e04b.tar.zst pttbbs-4b4b6187731bf4d4817d3bf5bcd1efcdde26e04b.zip |
- minimore: fix inversed navigation key (j/k).
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4340 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/more.c')
-rw-r--r-- | mbbsd/more.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/more.c b/mbbsd/more.c index 09013e03..acd0e5a7 100644 --- a/mbbsd/more.c +++ b/mbbsd/more.c @@ -190,7 +190,7 @@ int more(const char *fpath, int promptend) } // process key switch(vkey()) { - case KEY_UP: case 'j': case Ctrl('P'): + case KEY_UP: case 'k': case Ctrl('P'): if (lineno == 0) abort = READ_PREV; lineno--; break; @@ -206,7 +206,7 @@ int more(const char *fpath, int promptend) lineno += t_lines-2; break; - case KEY_DOWN: case 'k': case Ctrl('N'): + case KEY_DOWN: case 'j': case Ctrl('N'): if (showall) abort = READ_NEXT; lineno++; break; |