mirror of
https://github.com/digarok/gsplus.git
synced 2024-06-09 01:29:32 +00:00
2 controls Ds needed to exit.
This commit is contained in:
parent
52d2c5f509
commit
69bc724ae8
|
@ -1233,7 +1233,11 @@ int debug_shell(int code) {
|
|||
|
||||
for(;;) {
|
||||
cp = x_readline("> ");
|
||||
if (!cp) return 0;
|
||||
if (!cp) {
|
||||
if (++control_d_count < 2) continue;
|
||||
return 0;
|
||||
}
|
||||
control_d_count = 0;
|
||||
if (!*cp) continue;
|
||||
c = parse_command(cp);
|
||||
if (c < 0) printf("error.\n");
|
||||
|
|
Loading…
Reference in New Issue
Block a user