diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2004-11-15 22:44:47 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2004-11-15 22:44:47 +0000 |
commit | ef8691b243d498ffd704ddd8cbb21b0498efbd38 (patch) | |
tree | 25b4858b2e7cfc06a4b2788fd604f05f586cfd71 /console-client | |
parent | c246ae24dc02cd182e9a095b013c58006460bb70 (diff) |
2004-11-15 Marcus Brinkmann <marcus@gnu.org>
* pc-kbd.c (input_loop): Make the left shift key behave the same
as right shift key with regards to page up/down.
Diffstat (limited to 'console-client')
-rw-r--r-- | console-client/ChangeLog | 5 | ||||
-rw-r--r-- | console-client/pc-kbd.c | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/console-client/ChangeLog b/console-client/ChangeLog index 5801e34a..3064e4a0 100644 --- a/console-client/ChangeLog +++ b/console-client/ChangeLog @@ -1,3 +1,8 @@ +2004-11-15 Marcus Brinkmann <marcus@gnu.org> + + * pc-kbd.c (input_loop): Make the left shift key behave the same + as right shift key with regards to page up/down. + 2004-10-22 Marcus Brinkmann <marcus@gnu.org> * driver.c (driver_start): Don't underflow I. diff --git a/console-client/pc-kbd.c b/console-client/pc-kbd.c index f454a833..485eace1 100644 --- a/console-client/pc-kbd.c +++ b/console-client/pc-kbd.c @@ -1061,9 +1061,11 @@ input_loop (any_t unused) console_scrollback (CONS_SCROLL_DELTA_LINES, 1); else if (state.left_alt && down && sc == SC_X1_DOWN) /* XXX */ console_scrollback (CONS_SCROLL_DELTA_LINES, -1); - else if (state.right_shift && down && sc == SC_X1_PGUP) /* XXX */ + else if ((state.right_shift || state.left_shift) + && down && sc == SC_X1_PGUP) /* XXX */ console_scrollback (CONS_SCROLL_DELTA_SCREENS, 0.5); - else if (state.right_shift && down && sc == SC_X1_PGDN) /* XXX */ + else if ((state.right_shift || state.left_shift) + && down && sc == SC_X1_PGDN) /* XXX */ console_scrollback (CONS_SCROLL_DELTA_SCREENS, -0.5); else if (down && sc < sizeof (sc_x1_to_kc)/sizeof (sc_x1_to_kc[0])) { |