about summary refs log tree commit diff stats
path: root/shell
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-06-04 20:08:29 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-06-04 20:08:29 -0700
commitf47051ae57b2c2178de5301125cc7f122cbeec2d (patch)
treeddf7a73b4b1238f1190cf47c7e1c6b354a997f57 /shell
parentcd4d0ae5b6a6ccb8a34644e47d39912a0fdf9886 (diff)
downloadmu-f47051ae57b2c2178de5301125cc7f122cbeec2d.tar.gz
.
Diffstat (limited to 'shell')
-rw-r--r--shell/sandbox.mu16
-rw-r--r--shell/trace.mu6
2 files changed, 11 insertions, 11 deletions
diff --git a/shell/sandbox.mu b/shell/sandbox.mu
index ab024018..4329f4be 100644
--- a/shell/sandbox.mu
+++ b/shell/sandbox.mu
@@ -415,9 +415,9 @@ fn render-sandbox-edit-menu screen: (addr screen), _self: (addr sandbox) {
   height <- increment
   clear-rect screen, 0/x, y, width, height, 0xc5/bg=blue-bg
   set-cursor-position screen, 0/x, y
-  draw-text-rightward-from-cursor screen, " ^r ", width, 0/fg, 0x5c/bg=black
+  draw-text-rightward-from-cursor screen, " ^r ", width, 0/fg, 0x5c/bg=menu-highlight
   draw-text-rightward-from-cursor screen, " run main  ", width, 7/fg, 0xc5/bg=blue-bg
-  draw-text-rightward-from-cursor screen, " ^s ", width, 0/fg, 0x5c/bg=black
+  draw-text-rightward-from-cursor screen, " ^s ", width, 0/fg, 0x5c/bg=menu-highlight
   draw-text-rightward-from-cursor screen, " run sandbox  ", width, 7/fg, 0xc5/bg=blue-bg
   $render-sandbox-edit-menu:render-ctrl-m: {
     var self/eax: (addr sandbox) <- copy _self
@@ -432,13 +432,13 @@ fn render-sandbox-edit-menu screen: (addr screen), _self: (addr sandbox) {
     draw-text-rightward-from-cursor screen, " ^m ", width, 0/fg, 3/bg=keyboard
     draw-text-rightward-from-cursor screen, " to keyboard  ", width, 7/fg, 0xc5/bg=blue-bg
   }
-  draw-text-rightward-from-cursor screen, " ^a ", width, 0/fg, 0x5c/bg=black
+  draw-text-rightward-from-cursor screen, " ^a ", width, 0/fg, 0x5c/bg=menu-highlight
   draw-text-rightward-from-cursor screen, " <<  ", width, 7/fg, 0xc5/bg=blue-bg
-  draw-text-rightward-from-cursor screen, " ^b ", width, 0/fg, 0x5c/bg=black
+  draw-text-rightward-from-cursor screen, " ^b ", width, 0/fg, 0x5c/bg=menu-highlight
   draw-text-rightward-from-cursor screen, " <word  ", width, 7/fg, 0xc5/bg=blue-bg
-  draw-text-rightward-from-cursor screen, " ^f ", width, 0/fg, 0x5c/bg=black
+  draw-text-rightward-from-cursor screen, " ^f ", width, 0/fg, 0x5c/bg=menu-highlight
   draw-text-rightward-from-cursor screen, " word>  ", width, 7/fg, 0xc5/bg=blue-bg
-  draw-text-rightward-from-cursor screen, " ^e ", width, 0/fg, 0x5c/bg=black
+  draw-text-rightward-from-cursor screen, " ^e ", width, 0/fg, 0x5c/bg=menu-highlight
   draw-text-rightward-from-cursor screen, " >>  ", width, 7/fg, 0xc5/bg=blue-bg
 }
 
@@ -452,9 +452,9 @@ fn render-keyboard-menu screen: (addr screen) {
   height <- increment
   clear-rect screen, 0/x, y, width, height, 0xc5/bg=blue-bg
   set-cursor-position screen, 0/x, y
-  draw-text-rightward-from-cursor screen, " ^r ", width, 0/fg, 0x5c/bg=black
+  draw-text-rightward-from-cursor screen, " ^r ", width, 0/fg, 0x5c/bg=menu-highlight
   draw-text-rightward-from-cursor screen, " run main  ", width, 7/fg, 0xc5/bg=blue-bg
-  draw-text-rightward-from-cursor screen, " ^s ", width, 0/fg, 0x5c/bg=black
+  draw-text-rightward-from-cursor screen, " ^s ", width, 0/fg, 0x5c/bg=menu-highlight
   draw-text-rightward-from-cursor screen, " run sandbox  ", width, 7/fg, 0xc5/bg=blue-bg
   draw-text-rightward-from-cursor screen, " ^m ", width, 0/fg, 7/bg
   draw-text-rightward-from-cursor screen, " to sandbox  ", width, 7/fg, 0xc5/bg=blue-bg
diff --git a/shell/trace.mu b/shell/trace.mu
index 8be76bb3..86d44a9d 100644
--- a/shell/trace.mu
+++ b/shell/trace.mu
@@ -892,13 +892,13 @@ fn render-trace-menu screen: (addr screen) {
   height <- increment
   clear-rect screen, 0/x, y, width, height, 0xc5/bg=blue-bg
   set-cursor-position screen, 0/x, y
-  draw-text-rightward-from-cursor screen, " ^r ", width, 0/fg, 0x5c/bg=black
+  draw-text-rightward-from-cursor screen, " ^r ", width, 0/fg, 0x5c/bg=menu-highlight
   draw-text-rightward-from-cursor screen, " run main  ", width, 7/fg, 0xc5/bg=blue-bg
   draw-text-rightward-from-cursor screen, " ^m ", width, 0/fg, 3/bg=keyboard
   draw-text-rightward-from-cursor screen, " to keyboard  ", width, 7/fg, 0xc5/bg=blue-bg
-  draw-text-rightward-from-cursor screen, " enter/bksp ", width, 0/fg, 0x5c/bg=black
+  draw-text-rightward-from-cursor screen, " enter/bksp ", width, 0/fg, 0x5c/bg=menu-highlight
   draw-text-rightward-from-cursor screen, " expand/collapse  ", width, 7/fg, 0xc5/bg=blue-bg
-  draw-text-rightward-from-cursor screen, " ^s ", width, 0/fg, 0x5c/bg=black
+  draw-text-rightward-from-cursor screen, " ^s ", width, 0/fg, 0x5c/bg=menu-highlight
   draw-text-rightward-from-cursor screen, " show whole line  ", width, 7/fg, 0xc5/bg=blue-bg
 }