fish-shell/tests
Johannes Altmanninger 5496247344 Avoid erasing OSC 133 prompt start marker with clr_eol
For multi-line prompts, we start each leading line with a clr_eol.  Immediately
before printing these prompt lines we emit the OSC 133 prompt start marker.
Some terminals such as tmux interpret make clr_eol delete such markers,
hence prompt navigation is broken.

Fix this by printing the marker only after clr_eol.

The scenario where this triggers is quite odd.  I haven't looked into why
the problem doesn't exist if I remove the recursive repaint request.

See https://github.com/tmux/tmux/issues/4183
Closes #10776
2024-10-12 19:00:16 +02:00
..
checks Avoid erasing OSC 133 prompt start marker with clr_eol 2024-10-12 19:00:16 +02:00
pexpects complete: Sort --keep-order completions smaller 2024-10-05 13:53:02 +02:00
test_functions isolated-tmux: fix quoting error 2023-09-14 20:42:25 +02:00
.gitignore tweak gitignore rules for *tests* directory 2017-02-20 20:29:43 -08:00
filter-control-sequences.sh tests: filter control sequences only when interactive 2024-04-12 12:28:22 +02:00
history_sample_bash Support $(cmd) command substitution as alternative to (cmd) 2021-07-13 21:33:42 +02:00
history_sample_corrupt1 Improve history robustness against corrupt files 2014-07-29 14:42:03 -07:00
history_sample_fish_1_x Enforce that history items must end with trailing newlines 2021-05-10 14:23:07 -07:00
history_sample_fish_2_0 Enforce that history items must end with trailing newlines 2021-05-10 14:23:07 -07:00
interactive.config Remove some unused functions from the test harness 2020-11-15 09:17:23 +01:00
interactive.fish Only retry failed pexpect tests under CI 2022-10-25 13:40:21 -05:00
test.fish tests: filter control sequences only when interactive 2024-04-12 12:28:22 +02:00
test_driver.sh tests: Remove skipped tests hack for Cmake < 3.9.0 2024-06-11 16:55:11 +02:00
test_env.sh Clear some env variables in test env setup 2024-09-14 07:21:18 +02:00
test_util.fish Run each test fully independently in own environment 2021-08-29 08:56:12 +02:00