diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-05-23 22:07:50 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-05-23 22:07:50 -0700 |
commit | d474128db1a6f0605e34cb9072fab7feb1e89585 (patch) | |
tree | 7c011c95bd94a947dde7a95f4a248957a1f9cd2a /shell | |
parent | b2dd7e6a91c1cd6f641e977aec2e34019619441d (diff) | |
download | mu-d474128db1a6f0605e34cb9072fab7feb1e89585.tar.gz |
shrink trace menu
Diffstat (limited to 'shell')
-rw-r--r-- | shell/trace.mu | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/shell/trace.mu b/shell/trace.mu index ba779273..a97d14d3 100644 --- a/shell/trace.mu +++ b/shell/trace.mu @@ -792,20 +792,14 @@ fn render-trace-menu screen: (addr screen) { var y/ecx: int <- copy height y <- decrement set-cursor-position screen, 0/x, y + draw-text-rightward-from-cursor screen, " enter/bksp ", width, 0/fg, 0x5c/bg=black + draw-text-rightward-from-cursor screen, " expand/collapse ", width, 7/fg, 0xc5/bg=blue-bg draw-text-rightward-from-cursor screen, " ctrl-r ", width, 0/fg, 0x5c/bg=black draw-text-rightward-from-cursor screen, " run main ", width, 7/fg, 0xc5/bg=blue-bg draw-text-rightward-from-cursor screen, " ctrl-s ", width, 0/fg, 0x5c/bg=black draw-text-rightward-from-cursor screen, " run sandbox ", width, 7/fg, 0xc5/bg=blue-bg draw-text-rightward-from-cursor screen, " ctrl-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, " j ", width, 0/fg, 0x5c/bg=black - draw-text-rightward-from-cursor screen, " down ", width, 7/fg, 0xc5/bg=blue-bg - draw-text-rightward-from-cursor screen, " k ", width, 0/fg, 0x5c/bg=black - draw-text-rightward-from-cursor screen, " up ", width, 7/fg, 0xc5/bg=blue-bg - draw-text-rightward-from-cursor screen, " enter ", width, 0/fg, 0x5c/bg=black - draw-text-rightward-from-cursor screen, " expand ", width, 7/fg, 0xc5/bg=blue-bg - draw-text-rightward-from-cursor screen, " backspace ", width, 0/fg, 0x5c/bg=black - draw-text-rightward-from-cursor screen, " collapse ", width, 7/fg, 0xc5/bg=blue-bg } fn edit-trace _self: (addr trace), key: grapheme { |