about summary refs log tree commit diff stats
path: root/baremetal/ex7.mu
diff options
context:
space:
mode:
Diffstat (limited to 'baremetal/ex7.mu')
-rw-r--r--baremetal/ex7.mu8
1 files changed, 4 insertions, 4 deletions
diff --git a/baremetal/ex7.mu b/baremetal/ex7.mu
index d6bca444..aa2083c7 100644
--- a/baremetal/ex7.mu
+++ b/baremetal/ex7.mu
@@ -21,28 +21,28 @@ fn main {
       break-if-!=
       var g/eax: grapheme <- copy 0x2d/dash
       draw-grapheme-at-cursor 0/screen, g, 0x31/fg, 0/bg
-      cursor-left 0
+      move-cursor-left 0
     }
     {
       compare key, 0x6a/j
       break-if-!=
       var g/eax: grapheme <- copy 0x7c/vertical-bar
       draw-grapheme-at-cursor 0/screen, g, 0x31/fg, 0/bg
-      cursor-down 0
+      move-cursor-down 0
     }
     {
       compare key, 0x6b/k
       break-if-!=
       var g/eax: grapheme <- copy 0x7c/vertical-bar
       draw-grapheme-at-cursor 0/screen, g, 0x31/fg, 0/bg
-      cursor-up 0
+      move-cursor-up 0
     }
     {
       compare key, 0x6c/l
       break-if-!=
       var g/eax: grapheme <- copy 0x2d/dash
       draw-grapheme-at-cursor 0/screen, g, 0x31/fg, 0/bg
-      cursor-right 0
+      move-cursor-right 0
     }
     loop
   }