about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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