mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
edit/edit_key_translator.c: interpret code 0177 as
backspace unless recognized otherwise
This commit is contained in:
parent
0c4d1838cf
commit
43409be694
@ -5,6 +5,9 @@
|
||||
* syntax/diffc.syntax: removed (obsoleted by diff.syntax)
|
||||
* syntax/Makefile.in: remove diffc.syntax
|
||||
|
||||
* edit/edit_key_translator.c: interpret code 0177 as
|
||||
backspace unless recognized otherwise
|
||||
|
||||
2000-02-23 Norbert Warmuth <nwarmuth@privat.circular.de>
|
||||
|
||||
* gtkedit/editcmd.c (edit_replace_prompt): fix incorrect
|
||||
|
@ -59,7 +59,9 @@
|
||||
XCTRL ('z'), CK_Word_Left, XCTRL ('x'), CK_Word_Right,
|
||||
KEY_F (4), CK_Replace, KEY_F (7), CK_Find, KEY_F (14), CK_Replace_Again,
|
||||
XCTRL ('h'), CK_BackSpace, ALT ('l'), CK_Goto, ALT ('L'), CK_Goto, XCTRL ('y'), CK_Delete_Line,
|
||||
KEY_F (17), CK_Find_Again, ALT ('p'), CK_Paragraph_Format, 0};
|
||||
KEY_F (17), CK_Find_Again, ALT ('p'), CK_Paragraph_Format,
|
||||
0177, CK_BackSpace,
|
||||
0, 0};
|
||||
|
||||
static long emacs_key_map[] =
|
||||
{OUR_BACKSPACE_KEY, CK_BackSpace, OUR_DELETE_KEY, CK_Delete, '\n', CK_Enter,
|
||||
@ -97,6 +99,7 @@
|
||||
KEY_F (17), CK_Find_Again,
|
||||
ALT ('<'), CK_Beginning_Of_Text,
|
||||
ALT ('>'), CK_End_Of_Text,
|
||||
0177, CK_BackSpace,
|
||||
|
||||
0, 0};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user