about summary refs log tree commit diff stats
path: root/apps/tui.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-09-16 23:46:25 -0700
committerKartik Agaram <vc@akkartik.com>2020-09-16 23:46:25 -0700
commit7ecfd5eba9d9f45a2ccd5237bd68d8b24b26978b (patch)
tree250ee5bc834ae270f405ded513080d9db71a3146 /apps/tui.mu
parentdeda3f49cf89c80af2d910a080576906965f0395 (diff)
downloadmu-7ecfd5eba9d9f45a2ccd5237bd68d8b24b26978b.tar.gz
6796
Extremely hacky initial stab at a 1-line editor.
Diffstat (limited to 'apps/tui.mu')
-rw-r--r--apps/tui.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tui.mu b/apps/tui.mu
index a02d8fb0..be74e1c4 100644
--- a/apps/tui.mu
+++ b/apps/tui.mu
@@ -23,7 +23,7 @@ fn main -> exit-status/ebx: int {
 
   print-string 0, "press a key to see its code: "
   enable-keyboard-immediate-mode
-  var x/eax: byte <- read-key-from-real-keyboard
+  var x/eax: grapheme <- read-key-from-real-keyboard
   enable-keyboard-type-mode
   enable-screen-type-mode
   print-string 0, "You pressed "