* key.c (correct_key_code): Convert Shift-Tab and Ctrl-Tab to
Back Tab (used in dialogs to jump to the previous widget).
Этот коммит содержится в:
родитель
9393a182b5
Коммит
7f3a386062
@ -1,5 +1,8 @@
|
||||
2002-12-25 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* key.c (correct_key_code): Convert Shift-Tab and Ctrl-Tab to
|
||||
Back Tab (used in dialogs to jump to the previous widget).
|
||||
|
||||
* widget.c (input_callback): Insert Enter with a modifier as
|
||||
literal Enter. Useful when pasting multiline text.
|
||||
|
||||
|
@ -477,6 +477,12 @@ correct_key_code (int code)
|
||||
if (c == KEY_SCANCEL)
|
||||
c = '\t';
|
||||
|
||||
/* Convert Shift+Tab and Ctrl+Tab to Back Tab */
|
||||
if ((c == '\t') && (mod & (KEY_M_SHIFT | KEY_M_CTRL))) {
|
||||
c = KEY_BTAB;
|
||||
mod = 0;
|
||||
}
|
||||
|
||||
/* F0 is the same as F10 for out purposes */
|
||||
if (c == KEY_F (0))
|
||||
c = KEY_F (10);
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user