diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-04-08 22:44:29 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-04-08 23:04:30 -0700 |
commit | f21e224fcd6866aa0c28d90758da197b158428e8 (patch) | |
tree | be6a71ac6d5a41ec710b17b0efa56efddb9a114f /shell/sandbox.mu | |
parent | c3069ab81868ed4ff3615923fc62dd894d671c8b (diff) | |
download | mu-f21e224fcd6866aa0c28d90758da197b158428e8.tar.gz |
.
Diffstat (limited to 'shell/sandbox.mu')
-rw-r--r-- | shell/sandbox.mu | 3 |
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 |