mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 02:31:18 -03:00
Fix arithmetic overflow in up-line
The C++ code implicitly relied on wrapping behavior. There are probably more cases like this. Maybe we should disable "overflow-checks" in release mode.
This commit is contained in:
@@ -9,3 +9,13 @@ tmux-sleep
|
||||
isolated-tmux capture-pane -p
|
||||
# CHECK: prompt 0> echo 12345
|
||||
# CHECK: echo abcde
|
||||
|
||||
isolated-tmux send-keys C-c
|
||||
tmux-sleep
|
||||
isolated-tmux send-keys C-l
|
||||
isolated-tmux send-keys begin Enter 'echo 1' Enter e n d C-p 23
|
||||
tmux-sleep
|
||||
isolated-tmux capture-pane -p
|
||||
# CHECK: prompt 0> begin
|
||||
# CHECK: echo 123
|
||||
# CHECK: end
|
||||
|
||||
Reference in New Issue
Block a user