about summary refs log tree commit diff stats
path: root/shell/trace.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-06-04 20:11:17 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-06-04 20:13:13 -0700
commit6f7846ebc4a4a5e38fcb9cb1afb48ad62a4469c1 (patch)
tree3a71c3ce10dd2bbf27a7f4f8d00fbb035ac4d408 /shell/trace.mu
parentf47051ae57b2c2178de5301125cc7f122cbeec2d (diff)
downloadmu-6f7846ebc4a4a5e38fcb9cb1afb48ad62a4469c1.tar.gz
.
Menu shortcut for jumping to function definition.
Diffstat (limited to 'shell/trace.mu')
-rw-r--r--shell/trace.mu2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/trace.mu b/shell/trace.mu
index 86d44a9d..8e1a6f51 100644
--- a/shell/trace.mu
+++ b/shell/trace.mu
@@ -894,6 +894,8 @@ fn render-trace-menu screen: (addr screen) {
   set-cursor-position screen, 0/x, y
   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, " ^g ", width, 0/fg, 0x5c/bg=menu-highlight
+  draw-text-rightward-from-cursor screen, " go to fn  ", 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=menu-highlight