diff --git a/src/shell/shell_batch.cpp b/src/shell/shell_batch.cpp index fdec91ba..769dccea 100644 --- a/src/shell/shell_batch.cpp +++ b/src/shell/shell_batch.cpp @@ -50,7 +50,7 @@ emptyline: n=1; DOS_ReadFile(file_handle,&c,&n); if (n>0) { - if (c>31) + if (c>31 || c==0x1b) *cmd_write++=c; } } while (c!='\n' && n);