mirror of
https://github.com/reactos/reactos.git
synced 2024-06-20 11:48:13 +00:00
[CMD] Print a newline after the interactive 'pause' command message finishes to run.
This commit is contained in:
parent
07302fe8eb
commit
39af25024a
|
@ -34,23 +34,24 @@
|
||||||
* Remove all hardcoded strings in En.rc
|
* Remove all hardcoded strings in En.rc
|
||||||
*/
|
*/
|
||||||
|
|
||||||
INT cmd_pause (LPTSTR param)
|
INT cmd_pause(LPTSTR param)
|
||||||
{
|
{
|
||||||
TRACE ("cmd_pause: \'%s\')\n", debugstr_aw(param));
|
TRACE("cmd_pause: \'%s\')\n", debugstr_aw(param));
|
||||||
|
|
||||||
if (!_tcsncmp (param, _T("/?"), 2))
|
if (!_tcsncmp(param, _T("/?"), 2))
|
||||||
{
|
{
|
||||||
ConOutResPaging(TRUE,STRING_PAUSE_HELP1);
|
ConOutResPaging(TRUE,STRING_PAUSE_HELP1);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (*param)
|
if (*param)
|
||||||
ConOutPrintf (param);
|
ConOutPuts(param);
|
||||||
else
|
else
|
||||||
msg_pause ();
|
msg_pause();
|
||||||
|
|
||||||
cgetchar ();
|
cgetchar();
|
||||||
|
|
||||||
|
ConOutChar(_T('\n'));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue