fish-shell/build_tools
Johannes Altmanninger 965bc78d33 Work around weird CI failures due to missing pre-execute \r\n
I forgot that 610338cc70 (On undo after execute, restore the cursor
position, 2024-12-21) would cause a fallout to tests:

It makes us reuse in another place our usual cursor-movement sequences.

This causes failures like this (linebreaks added for readability):

	Testing file pexpects/bind.py:Failed to match pattern: (?:\r\n|\x1b\[2 q)[^\n]*def abc\r\n
	bind.py:45: timeout from expect_prompt(TO_END + "def abc\r\n")  # emacs transpose words, default timeout: no delay

	Escaped buffer:
	\x1b[?2004h\x1b[>4;1m\x1b[=5u\x1b=\rprompt 2>echo \rprompt 2>echo abc \rprompt 2>echo def abc\r
	prompt 2>echo def abc\x1b[?2004l\x1b[>4;0m\x1b[=0u\x1b>\x1b]133;C\x07def abc\r\n\x1b]133;D;0\x07\x1b[?25h⏎
	\r⏎ \r\rprompt 3>\x1b[?2004h\x1b[>4;1m\x1b[=5u\x1b=

It seems that we don't print anything where we should print something
like "\r\n" or "\e[2 q" to move the cursor below the command line.

I haven't gotten to the bottom of this but it might be related to
terminfo. Once we get rid of that, we can unconditionally print
our canonical movement sequences.

This issue seems to only affect tests, since fish operates fine in
a sourcehut CI system. Let's ignore it for now.
2024-12-21 14:37:57 +01:00
..
osx_package_resources welcome.html: Provide fallback font-families as we are unsure 2022-01-28 19:47:58 -08:00
osx_package_scripts Add missing newlines 2022-01-26 13:51:45 -08:00
diff_profiles.fish Use set -l to force use of a local variable 2020-05-15 08:25:07 +02:00
extract_help_sections.fish Add script to extract help sections 2021-08-23 18:01:31 +02:00
fish_xgettext.fish translations: Remove tmpdir from location 2024-03-10 16:40:58 +01:00
git_version_gen.sh git_version_gen: Just print the version 2024-12-06 22:12:26 +01:00
list_committers_since.fish build_tools/list_committers_since: account for possibility of mktemp 2020-11-14 15:57:42 +01:00
littlecheck.py Update littlecheck to 3d8a08bd164a96f53aef2a00a818e8778808e95a 2022-12-23 18:49:41 +01:00
lsan_suppressions.txt Remove remaining mentions of curses 2024-02-23 16:36:10 +01:00
mac_notarize.sh macOS notarization: migrate from altool to notarytool 2022-12-26 15:25:42 -08:00
make_pkg.sh Correct spelling of "courtesy" 2024-10-24 20:25:22 -07:00
make_tarball.sh Remove trace of corrosion 2024-03-23 11:52:49 +01:00
make_vendor_tarball.sh make_vendor_tarball: fix deprecated name for vendor Cargo manifest 2024-08-09 15:07:42 +02:00
osx_distribution.xml Fix welcome text, don't use logger. 2022-01-22 20:06:37 -08:00
pexpect_helper.py Work around weird CI failures due to missing pre-execute \r\n 2024-12-21 14:37:57 +01:00
style.fish Remove C++ style/lint cruft 2024-01-07 15:12:21 +01:00