diff options
Diffstat (limited to 'shell/trace.mu')
-rw-r--r-- | shell/trace.mu | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/shell/trace.mu b/shell/trace.mu index 0736f796..b0c43f74 100644 --- a/shell/trace.mu +++ b/shell/trace.mu @@ -690,6 +690,13 @@ fn edit-trace _self: (addr trace), key: grapheme { increment *cursor-y return } + { + compare key, 0x81/down-arrow + break-if-!= + var cursor-y/eax: (addr int) <- get self, cursor-y + increment *cursor-y + return + } # cursor up { compare key, 0x6b/k @@ -698,6 +705,13 @@ fn edit-trace _self: (addr trace), key: grapheme { decrement *cursor-y return } + { + compare key, 0x82/up-arrow + break-if-!= + var cursor-y/eax: (addr int) <- get self, cursor-y + decrement *cursor-y + return + } # enter = expand { compare key, 0xa/newline |