* 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:
Andrew V. Samoilov 2004-11-29 20:11:07 +00:00
parent 0fdf2a6e6d
commit d50dc18be0
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -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
*/