From d474128db1a6f0605e34cb9072fab7feb1e89585 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 23 May 2021 22:07:50 -0700 Subject: shrink trace menu --- shell/trace.mu | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'shell') 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 { -- cgit 1.4.1-2-gfad0