about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/colors.mu3
-rw-r--r--apps/rpn.mu5
2 files changed, 3 insertions, 5 deletions
diff --git a/apps/colors.mu b/apps/colors.mu
index 78e58838..c58fec35 100644
--- a/apps/colors.mu
+++ b/apps/colors.mu
@@ -28,8 +28,7 @@ fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk)
       var key2/eax: int <- copy key
       append-byte in, key2
       var g/eax: grapheme <- copy key2
-      draw-grapheme-at-cursor screen, g, 0xf/fg, 0/bg
-      move-cursor-right 0
+      draw-grapheme-at-cursor-over-full-screen screen, g, 0xf/fg, 0/bg
       loop
     }
     clear-screen screen
diff --git a/apps/rpn.mu b/apps/rpn.mu
index 1f432365..ac54457d 100644
--- a/apps/rpn.mu
+++ b/apps/rpn.mu
@@ -36,12 +36,11 @@ fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk)
       var key2/eax: int <- copy key
       append-byte in, key2
       var g/eax: grapheme <- copy key2
-      draw-grapheme-at-cursor screen, g, 0xf/fg, 0/bg
-      move-cursor-right 0
+      draw-grapheme-at-cursor-over-full-screen screen, g, 0xf/fg, 0/bg
       loop
     }
     # clear cursor
-    draw-grapheme-at-cursor screen, space, 3/fg/never-used, 0/bg
+    draw-grapheme-at-cursor-over-full-screen screen, space, 3/fg/never-used, 0/bg
     # parse and eval
     var out/eax: int <- simplify in
     # print