diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-02-23 08:22:46 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-02-23 08:22:46 -0800 |
commit | a230aca7fa00e227b0b569325f7df20426e1891e (patch) | |
tree | 5d73e2e69d6d97bba25fb941cfeac60bf53e28ae /baremetal/shell/sandbox.mu | |
parent | 2812e206085e8de6e40d1af1fa2e41bb57a58021 (diff) | |
download | mu-a230aca7fa00e227b0b569325f7df20426e1891e.tar.gz |
7794
Diffstat (limited to 'baremetal/shell/sandbox.mu')
-rw-r--r-- | baremetal/shell/sandbox.mu | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/baremetal/shell/sandbox.mu b/baremetal/shell/sandbox.mu index b69ac54a..195df8a7 100644 --- a/baremetal/shell/sandbox.mu +++ b/baremetal/shell/sandbox.mu @@ -103,23 +103,6 @@ fn render-sandbox-menu screen: (addr screen) { draw-text-rightward-from-cursor screen, " move to trace ", width, 7/fg, 0/bg } -fn render-trace-menu screen: (addr screen) { - var width/eax: int <- copy 0 - var height/ecx: int <- copy 0 - width, height <- screen-size screen - var y/ecx: int <- copy height - y <- decrement - set-cursor-position screen, 0/x, y - draw-text-rightward-from-cursor screen, " ctrl-s ", width, 0/fg, 7/bg=grey - draw-text-rightward-from-cursor screen, " run sandbox ", width, 7/fg, 0/bg - draw-text-rightward-from-cursor screen, " ctrl-d ", width, 0/fg, 7/bg=grey - draw-text-rightward-from-cursor screen, " cursor down ", width, 7/fg, 0/bg - draw-text-rightward-from-cursor screen, " ctrl-u ", width, 0/fg, 7/bg=grey - draw-text-rightward-from-cursor screen, " cursor up ", width, 7/fg, 0/bg - draw-text-rightward-from-cursor screen, " tab ", width, 0/fg, 3/bg=cyan - draw-text-rightward-from-cursor screen, " move to sandbox ", width, 7/fg, 0/bg -} - fn edit-sandbox _self: (addr sandbox), key: byte { var self/esi: (addr sandbox) <- copy _self var g/edx: grapheme <- copy key |