about summary refs log tree commit diff stats
path: root/shell
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-04-15 23:15:47 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-04-15 23:15:47 -0700
commit735636c7da421895f8439d7de66c079ec523ce39 (patch)
tree023b5cf1144b379bc8b553509022df9dd26cfb15 /shell
parentc975f29a0c658c4b2c2ac3319988cb9fab9db54c (diff)
downloadmu-735636c7da421895f8439d7de66c079ec523ce39.tar.gz
.
Diffstat (limited to 'shell')
-rw-r--r--shell/global.mu8
1 files changed, 6 insertions, 2 deletions
diff --git a/shell/global.mu b/shell/global.mu
index c05a8274..ac983837 100644
--- a/shell/global.mu
+++ b/shell/global.mu
@@ -156,7 +156,7 @@ fn render-globals screen: (addr screen), _self: (addr global-table), xmin: int,
 
 fn render-primitives screen: (addr screen), xmin: int, ymin: int, xmax: int, ymax: int {
   var y/ecx: int <- copy ymax
-  y <- subtract 0xe
+  y <- subtract 0xf
   var tmpx/eax: int <- copy xmin
   tmpx <- draw-text-rightward screen, "cursor graphics", tmpx, xmax, y, 0x7/fg=grey, 0x12/bg=almost-black
   y <- increment
@@ -189,7 +189,11 @@ fn render-primitives screen: (addr screen), xmin: int, ymin: int, xmax: int, yma
   tmpx <- draw-text-rightward screen, ": screen x y color", tmpx, xmax, y, 0x7/fg=grey, 0x12/bg=almost-black
   y <- increment
   var tmpx/eax: int <- copy xmin
-  tmpx <- draw-text-rightward screen, "keyboard", tmpx, xmax, y, 0x7/fg=grey, 0x12/bg=almost-black
+  tmpx <- draw-text-rightward screen, "screen/keyboard", tmpx, xmax, y, 0x7/fg=grey, 0x12/bg=almost-black
+  y <- increment
+  var tmpx/eax: int <- copy xmin
+  tmpx <- draw-text-rightward screen, "  clear", tmpx, xmax, y, 0x2a/fg=orange, 0x12/bg=almost-black
+  tmpx <- draw-text-rightward screen, ": screen", tmpx, xmax, y, 0x7/fg=grey, 0x12/bg=almost-black
   y <- increment
   var tmpx/eax: int <- copy xmin
   tmpx <- draw-text-rightward screen, "  key", tmpx, xmax, y, 0x2a/fg=orange, 0x12/bg=almost-black