summaryrefslogtreecommitdiff
path: root/src/memview.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/memview.c')
-rw-r--r--src/memview.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/memview.c b/src/memview.c
index 2abf754..d285163 100644
--- a/src/memview.c
+++ b/src/memview.c
@@ -662,6 +662,8 @@ main(int argc, char *argv[])
continue;
switch (input) {
+ case 0x04:
+ goto quit;
case 0x18: // ^X
case 0x1a: // ^Z
press = (struct key){0};
@@ -692,5 +694,6 @@ main(int argc, char *argv[])
}
}
+quit:
return EXIT_SUCCESS;
}