mirror of
https://github.com/digarok/gsplus.git
synced 2024-06-14 18:29:40 +00:00
debug shell - print newline after control-D
This commit is contained in:
parent
027689aea5
commit
7b9da08d72
|
@ -1437,7 +1437,10 @@ int debug_shell(int code) {
|
|||
for(;;) {
|
||||
cp = x_readline("> ");
|
||||
if (!cp) {
|
||||
if (++control_d_count < 2) continue;
|
||||
if (++control_d_count < 2) {
|
||||
fputs("\n", stdout);
|
||||
continue;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
control_d_count = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user