mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
* main.c (midnight_callback): Make the the keystrokes the invoke
select_cmd(), unselect_cmd() and reverse_selection_cmd () work even if the command prompt is turned off.
This commit is contained in:
parent
0fdf2a6e6d
commit
d50dc18be0
@ -1,3 +1,9 @@
|
||||
2004-11-29 Pavel Tsekov <ptsekov@gmx.net>
|
||||
|
||||
* main.c (midnight_callback): Make the the keystrokes the invoke
|
||||
select_cmd(), unselect_cmd() and reverse_selection_cmd () work
|
||||
even if the command prompt is turned off.
|
||||
|
||||
2004-11-26 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||
|
||||
* execute.c (shell_execute): Optimize memory usage.
|
||||
|
@ -1525,7 +1525,7 @@ midnight_callback (struct Dlg_head *h, dlg_msg_t msg, int parm)
|
||||
reverse_selection_cmd ();
|
||||
return MSG_HANDLED;
|
||||
}
|
||||
} else if (command_prompt && !strlen (cmdline->buffer)) {
|
||||
} else if (!command_prompt || !strlen (cmdline->buffer)) {
|
||||
/* Special treatement '+', '-', '\', '*' only when this is
|
||||
* first char on input line
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user