cmd: Do not show prompt when echo mode is off.

oldstable
Frédéric Delanoy 2011-07-14 14:08:09 +02:00 committed by Alexandre Julliard
parent 91c4632941
commit f43297f989
1 changed files with 1 additions and 1 deletions

View File

@ -2555,7 +2555,7 @@ int wmain (int argc, WCHAR *argvW[])
/* Read until EOF (which for std input is never, but if redirect
in place, may occur */
WCMD_show_prompt ();
if (echo_mode) WCMD_show_prompt();
if (WCMD_ReadAndParseLine(NULL, &toExecute,
GetStdHandle(STD_INPUT_HANDLE)) == NULL)
break;