shell: clean up unimplemented menu items

This commit is contained in:
Kartik K. Agaram 2021-04-05 19:46:47 -07:00
parent 8a31a087b0
commit 463878a4a4
2 changed files with 0 additions and 17 deletions

View File

@ -759,19 +759,6 @@ fn edit-gap-buffer self: (addr gap-buffer), key: grapheme {
delete-before-gap self
return
}
# arrow keys
{
compare g, 4/ctrl-d
break-if-!=
# ctrl-d: cursor down
return
}
{
compare g, 0x15/ctrl-u
break-if-!=
# ctrl-u: cursor up
return
}
# default: insert character
add-grapheme-at-gap self, g
}

View File

@ -98,10 +98,6 @@ fn render-sandbox-menu screen: (addr screen) {
draw-text-rightward-from-cursor screen, " run sandbox ", width, 7/fg, 0/bg
draw-text-rightward-from-cursor screen, " tab ", width, 0/fg, 9/bg=blue
draw-text-rightward-from-cursor screen, " move to trace ", 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, " 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, " up ", width, 7/fg, 0/bg
}
fn edit-sandbox _self: (addr sandbox), key: byte {