about summary refs log tree commit diff stats
path: root/tutorial/converter2.mu
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/converter2.mu')
-rw-r--r--tutorial/converter2.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/converter2.mu b/tutorial/converter2.mu
index ae445239..5e338647 100644
--- a/tutorial/converter2.mu
+++ b/tutorial/converter2.mu
@@ -37,7 +37,7 @@ fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk)
     # process a single keystroke
     $main:input: {
       var key/eax: byte <- read-key keyboard
-      var key/eax: grapheme <- copy key
+      var key/eax: code-point-utf8 <- copy key
       compare key, 0
       loop-if-=
       # tab = switch cursor between input areas