1
1

* main.c (do_execute): Don't ask to press any key when the shell

is running a command - the user has already pressed Ctrl-O.
Этот коммит содержится в:
Pavel Roskin 2002-07-16 06:00:54 +00:00
родитель e0a1975590
Коммит bb34f88152
2 изменённых файлов: 9 добавлений и 3 удалений

Просмотреть файл

@ -1,3 +1,8 @@
2002-07-16 Pavel Roskin <proski@gnu.org>
* main.c (do_execute): Don't ask to press any key when the shell
is running a command - the user has already pressed Ctrl-O.
2002-07-15 Pavel Roskin <proski@gnu.org>
* slint.c: Eliminate hardcoded color terminals. Most users no

Просмотреть файл

@ -693,7 +693,8 @@ do_execute (const char *shell, const char *command, int flags)
if (!(flags & EXECUTE_INTERNAL)) {
if ((pause_after_run == pause_always ||
(pause_after_run == pause_on_dumb_terminals &&
!xterm_flag && !console_flag)) && !quit){
!xterm_flag && !console_flag)) && !quit &&
subshell_state != RUNNING_COMMAND) {
printf (_("Press any key to continue..."));
last_paused = 1;
fflush (stdout);