readline considers 0x1b (esc) as a valid char now
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@564
This commit is contained in:
parent
6f9f410ecf
commit
fcb74411a9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue