fish-shell/build_tools
Johannes Altmanninger 610338cc70 On undo after execute, restore the cursor position
Ever since 149594f974 (Initial revision, 2005-09-20), we move the
cursor to the end of the commandline just before executing it.

This is so we can move the cursor to the line below the command line,
so moving the cursor is relevant if one presses enter on say, the
first line of a multi-line commandline.

As mentioned in #10838 and others, it can be useful to restore the
cursor position when recalling commandline from history. Make undo
restore the position where enter was pressed, instead of implicitly
moving the cursor to the end. This allows to quickly correct small
mistakes in large commandlines that failed recently.

This requires a new way of moving the cursor below the command line.
Test changes include unrelated cleanup of history.py.
2024-12-21 13:10:34 +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 On undo after execute, restore the cursor position 2024-12-21 13:10:34 +01:00
style.fish Remove C++ style/lint cruft 2024-01-07 15:12:21 +01:00