about summary refs log tree commit diff stats
path: root/baremetal/shell
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-02-23 08:27:26 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-02-23 08:27:26 -0800
commit8cf66cb2a2b4bd74b5c6ee89710346ac5c634529 (patch)
tree0eacaa6bfd11dd75b1daa8241b6292101d2b3c7c /baremetal/shell
parenta230aca7fa00e227b0b569325f7df20426e1891e (diff)
downloadmu-8cf66cb2a2b4bd74b5c6ee89710346ac5c634529.tar.gz
7795
Diffstat (limited to 'baremetal/shell')
-rw-r--r--baremetal/shell/gap-buffer.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/baremetal/shell/gap-buffer.mu b/baremetal/shell/gap-buffer.mu
index 0f389873..81537e9c 100644
--- a/baremetal/shell/gap-buffer.mu
+++ b/baremetal/shell/gap-buffer.mu
@@ -761,7 +761,7 @@ fn edit-gap-buffer self: (addr gap-buffer), key: grapheme {
   }
   # arrow keys
   {
-    compare g, 0x4/ctrl-d
+    compare g, 4/ctrl-d
     break-if-!=
     # ctrl-d: cursor down
     return