diff options
Diffstat (limited to 'prototypes/tile/11.mu')
-rw-r--r-- | prototypes/tile/11.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/prototypes/tile/11.mu b/prototypes/tile/11.mu index 8d3593e3..82de9fda 100644 --- a/prototypes/tile/11.mu +++ b/prototypes/tile/11.mu @@ -63,7 +63,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 @@ -84,7 +84,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) { $process:body: { # if c == 'h' move cursor to its parent if possible { |