From e68a64aadee5fc4249ac3e9d0d028c4befc6e345 Mon Sep 17 00:00:00 2001 From: Patryk Obara Date: Mon, 23 Dec 2019 16:23:53 +0100 Subject: [PATCH] Adjust 'help /all' to fixed 'pause' --- src/shell/shell_cmds.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shell/shell_cmds.cpp b/src/shell/shell_cmds.cpp index b43b45af..8aebdcf3 100644 --- a/src/shell/shell_cmds.cpp +++ b/src/shell/shell_cmds.cpp @@ -230,7 +230,8 @@ void DOS_Shell::CMD_HELP(char * args){ while (cmd_list[cmd_index].name) { if (optall || !cmd_list[cmd_index].flags) { WriteOut("<\033[34;1m%-8s\033[0m> %s",cmd_list[cmd_index].name,MSG_Get(cmd_list[cmd_index].help)); - if(!(++write_count%22)) CMD_PAUSE(empty_string); + if (!(++write_count % 24)) + CMD_PAUSE(empty_string); } cmd_index++; }