diff options
Diffstat (limited to 'prototypes/tile/6.mu')
-rw-r--r-- | prototypes/tile/6.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/prototypes/tile/6.mu b/prototypes/tile/6.mu index ee7ef8c0..be95dead 100644 --- a/prototypes/tile/6.mu +++ b/prototypes/tile/6.mu @@ -58,7 +58,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 @@ -77,7 +77,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) { # increase depth by 1 var c1/ecx: (addr handle cell) <- copy cursor var c2/eax: (addr cell) <- lookup *c1 |