mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 10:30:28 +08:00
3b9e3e251b
This allows terminals like foot and kitty to * scroll to the previous/next prompt with ctrl-shift-{z,x} * pipe the last command's output to a pager with ctrl-shift-g Kitty has existing fish shell integration shell-integration/fish/vendor_conf.d/kitty-shell-integration.fish which we can simplify now. They keep a state variable to decide which of prompt start, command start or command end to output. I think with our implementation this is no longer necessary, at least I couldn't reproduce any difference. We also don't need to hook into fish_cancel or fish_posterror like they do; only in the one place where we actually draw the prompt. As mentioned in the above shell integration script, kitty disables reflow when it sees an OSC 133 marker, so we need to do it ourselves, otherwise the prompt will go blank after a terminal resize. Closes #10352 |
||
---|---|---|
.. | ||
completions | ||
functions | ||
groff | ||
tools | ||
__fish_build_paths.fish.in | ||
config.fish |