about summary refs log tree commit diff stats
path: root/prototypes/tile/7.mu
diff options
context:
space:
mode:
Diffstat (limited to 'prototypes/tile/7.mu')
-rw-r--r--prototypes/tile/7.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/prototypes/tile/7.mu b/prototypes/tile/7.mu
index 92b92b34..e2e7aff0 100644
--- a/prototypes/tile/7.mu
+++ b/prototypes/tile/7.mu
@@ -62,7 +62,7 @@ fn interactive -> exit-status/ebx: int {
 $main:loop: {
     # process key
     {
-      var c/eax: byte <- read-key
+      var c/eax: grapheme <- read-key-from-real-keyboard
       compare c, 4  # ctrl-d
       break-if-= $main:loop
       process c, root, cursor
@@ -81,7 +81,7 @@ $main:loop: {
 # Tree mutations
 #######################################################
 
-fn process c: byte, root: (addr handle cell), cursor: (addr handle cell) {
+fn process c: grapheme, root: (addr handle cell), cursor: (addr handle cell) {
   var c1/ecx: (addr handle cell) <- copy cursor
   var c2/eax: (addr cell) <- lookup *c1
   create-child c2