mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* editkeys.c: When typing literal characters after C-q, allow
the alphabetic characters to input ASCII control characters.
This commit is contained in:
parent
6d3226c4e7
commit
fb221cb8b0
@ -1,3 +1,8 @@
|
|||||||
|
2005-07-18 Roland Illig <roland.illig@gmx.de>
|
||||||
|
|
||||||
|
* editkeys.c: When typing literal characters after C-q, allow
|
||||||
|
the alphabetic characters to input ASCII control characters.
|
||||||
|
|
||||||
2005-07-06 Roland Illig <roland.illig@gmx.de>
|
2005-07-06 Roland Illig <roland.illig@gmx.de>
|
||||||
|
|
||||||
* edit.h: Added missing #include <stdio.h>.
|
* edit.h: Added missing #include <stdio.h>.
|
||||||
|
@ -228,9 +228,9 @@ edit_translate_key (WEdit *edit, long x_key, int *cmd, int *ch)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (x_key == XCTRL ('q')) {
|
if (x_key == XCTRL ('q')) {
|
||||||
char_for_insertion =
|
char_for_insertion = ascii_alpha_to_cntrl (
|
||||||
edit_raw_key_query (_(" Insert Literal "),
|
edit_raw_key_query (_(" Insert Literal "),
|
||||||
_(" Press any key: "), 0);
|
_(" Press any key: "), 0));
|
||||||
goto fin;
|
goto fin;
|
||||||
}
|
}
|
||||||
if (x_key == XCTRL ('a')
|
if (x_key == XCTRL ('a')
|
||||||
|
Loading…
Reference in New Issue
Block a user