fix: failed at quit
This commit is contained in:
parent
1af1dbcd20
commit
4770b4ce97
2 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
||||||
packages = [
|
packages = [
|
||||||
clang-tools
|
clang-tools
|
||||||
rnix-lsp
|
rnix-lsp
|
||||||
|
bear
|
||||||
|
|
||||||
gdb
|
gdb
|
||||||
jre
|
jre
|
||||||
|
|
|
@ -49,6 +49,7 @@ static int cmd_c(char *args) {
|
||||||
|
|
||||||
|
|
||||||
static int cmd_q(char *args) {
|
static int cmd_q(char *args) {
|
||||||
|
nemu_state.state = NEMU_QUIT;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue