about summary refs log tree commit diff stats
path: root/shell/sandbox.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-04-08 22:44:29 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-04-08 23:04:30 -0700
commitf21e224fcd6866aa0c28d90758da197b158428e8 (patch)
treebe6a71ac6d5a41ec710b17b0efa56efddb9a114f /shell/sandbox.mu
parentc3069ab81868ed4ff3615923fc62dd894d671c8b (diff)
downloadmu-f21e224fcd6866aa0c28d90758da197b158428e8.tar.gz
.
Diffstat (limited to 'shell/sandbox.mu')
-rw-r--r--shell/sandbox.mu3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/sandbox.mu b/shell/sandbox.mu
index 06bf3656..28ace92f 100644
--- a/shell/sandbox.mu
+++ b/shell/sandbox.mu
@@ -93,6 +93,9 @@ fn render-sandbox-menu screen: (addr screen) {
   width, height <- screen-size screen
   var y/ecx: int <- copy height
   y <- decrement
+  var height/edx: int <- copy y
+  height <- increment
+  clear-rect screen, 0/x, y, width, height, 0/bg=black
   set-cursor-position screen, 0/x, y
   draw-text-rightward-from-cursor screen, " ctrl-s ", width, 0/fg, 7/bg=grey
   draw-text-rightward-from-cursor screen, " run sandbox  ", width, 7/fg, 0/bg