mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[0.4.9] cherry-pick [CMD] Print a newline after the interactive 'pause' command message finishes to run.
(cherry picked from commit 39af25024a)
This commit is contained in:
committed by
Joachim Henze
parent
7b3affa096
commit
9a6be75d5f
@@ -34,23 +34,24 @@
|
||||
* 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);
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (*param)
|
||||
ConOutPrintf (param);
|
||||
ConOutPuts(param);
|
||||
else
|
||||
msg_pause ();
|
||||
msg_pause();
|
||||
|
||||
cgetchar ();
|
||||
cgetchar();
|
||||
|
||||
ConOutChar(_T('\n'));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user