From 6ef8a8afc9eec50539ca4326c147d5570ef5e40f Mon Sep 17 00:00:00 2001 From: nickysn Date: Sat, 21 Feb 2015 18:33:47 +0000 Subject: [PATCH] * fixed bug which caused Ctrl-F1..F4 to be erroneously identified as Shift-F1..F4 on certain xterm clones. Tested with konsole. git-svn-id: trunk@29775 - --- packages/rtl-console/src/unix/keyboard.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/rtl-console/src/unix/keyboard.pp b/packages/rtl-console/src/unix/keyboard.pp index 6e6149a0ee..111f5a604a 100644 --- a/packages/rtl-console/src/unix/keyboard.pp +++ b/packages/rtl-console/src/unix/keyboard.pp @@ -1026,10 +1026,6 @@ const key_sequences:array[0..289] of key_sequence=( (char:0;scan:kbShiftF10;st:#27'[21;2~'), {xterm} (char:0;scan:kbShiftF11;st:#27'[23;2~'), {xterm} (char:0;scan:kbShiftF12;st:#27'[24;2~'), {xterm} - (char:0;scan:kbShiftF1;st:#27'O5P'), {xterm} - (char:0;scan:kbShiftF2;st:#27'O5Q'), {xterm} - (char:0;scan:kbShiftF3;st:#27'O5R'), {xterm} - (char:0;scan:kbShiftF4;st:#27'O5S'), {xterm} (char:0;scan:kbShiftF1;st:#27'O2P'), {konsole,xterm} (char:0;scan:kbShiftF2;st:#27'O2Q'), {konsole,xterm} (char:0;scan:kbShiftF3;st:#27'O2R'), {konsole,xterm} @@ -1038,6 +1034,10 @@ const key_sequences:array[0..289] of key_sequence=( (char:0;scan:kbShiftF2;st:#27'[1;2Q'), {xterm,gnome3} (char:0;scan:kbShiftF3;st:#27'[1;2R'), {xterm,gnome3} (char:0;scan:kbShiftF4;st:#27'[1;2S'), {xterm,gnome3} + (char:0;scan:kbCtrlF1;st:#27'O5P'), {konsole,xterm} + (char:0;scan:kbCtrlF2;st:#27'O5Q'), {konsole,xterm} + (char:0;scan:kbCtrlF3;st:#27'O5R'), {konsole,xterm} + (char:0;scan:kbCtrlF4;st:#27'O5S'), {konsole,xterm} (char:0;scan:kbCtrlF1;st:#27'[1;5P'), {xterm,gnome3} (char:0;scan:kbCtrlF2;st:#27'[1;5Q'), {xterm,gnome3} (char:0;scan:kbCtrlF3;st:#27'[1;5R'), {xterm,gnome3}