mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-02 01:52:00 +08:00
Add special_key=1 to prompt marking
Kitty uses this for more graceful mouse handling when the completion pager is active, see https://github.com/kovidgoyal/kitty/pull/7316#issuecomment-2041279797
This commit is contained in:
parent
3b9e3e251b
commit
c8f3659737
|
@ -836,7 +836,7 @@ impl Screen {
|
|||
// Output the left prompt if it has changed.
|
||||
if left_prompt != zelf.actual_left_prompt {
|
||||
zelf.r#move(0, 0);
|
||||
zelf.write_bytes(b"\x1b]133;A\x07");
|
||||
zelf.write_bytes(b"\x1b]133;A;special_key=1\x07");
|
||||
let mut start = 0;
|
||||
for line_break in left_prompt_layout.line_breaks {
|
||||
zelf.write_str(&left_prompt[start..line_break]);
|
||||
|
|
Loading…
Reference in New Issue
Block a user