about summary refs log tree commit diff stats
path: root/shell
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-08-28 22:57:22 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-08-28 22:57:22 -0700
commitbc859a7ca4713b290fa9d7dea187fde55568ab29 (patch)
tree39401d36682fe391816f1ce5bbceabf065524c7b /shell
parent468927ee1c8b551e50bc4a9e3a2ed689420e1766 (diff)
downloadmu-bc859a7ca4713b290fa9d7dea187fde55568ab29.tar.gz
.
Diffstat (limited to 'shell')
-rw-r--r--shell/sandbox.mu5
1 files changed, 2 insertions, 3 deletions
diff --git a/shell/sandbox.mu b/shell/sandbox.mu
index b806e0d2..eb752b14 100644
--- a/shell/sandbox.mu
+++ b/shell/sandbox.mu
@@ -242,8 +242,7 @@ fn render-empty-screen screen: (addr screen), _target-screen: (addr screen), xmi
     {
       compare x, *width
       break-if->=
-      draw-code-point-at-cursor screen, 0x20/space, 0x18/fg, 0/bg
-      move-cursor-right screen
+      draw-code-point-at-cursor-over-full-screen screen, 0x20/space, 0x18/fg, 0/bg
       x <- increment
       loop
     }
@@ -387,7 +386,7 @@ fn print-screen-cell-of-fake-screen screen: (addr screen), _target: (addr screen
   var src-grapheme/eax: (addr grapheme) <- get src-cell, data
   var src-color/ecx: (addr int) <- get src-cell, color
   var src-background-color/edx: (addr int) <- get src-cell, background-color
-  draw-grapheme-at-cursor screen, *src-grapheme, *src-color, *src-background-color
+  draw-grapheme-at-cursor-over-full-screen screen, *src-grapheme, *src-color, *src-background-color
 }
 
 fn render-sandbox-edit-menu screen: (addr screen), _self: (addr sandbox) {