New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fish shell integration] repaint removes text printed by fish key binding #7200
Comments
I have "fixed" the problem by calling e.g.
|
I dont know of anyway to fix this. If commandline -f repaint doesnt run |
The upcoming fish 3.8 release will output OSC 133 sequences unconditionally [1]. I tested ctrl-shift-{g,x,z} bindings both without and with kitty's shell integration on top; everything seems to work. Let's simplify kitty integration by removing the markers for the upcoming fish >= 3.8. I have hopes that the native OSC 133 implementation address kovidgoyal#7200 though I'm not sure if I could reproduce this bug (I only saw a similar bug when `fish_handle_reflow` was not enabled, which fish also does now (same commit)). cc @iacore let me know if you can reproduce kovidgoyal#7200 with latest fish master. [1]: fish-shell/fish-shell@3b9e3e2
The upcoming fish 3.8 release will output OSC 133 sequences unconditionally [1]. I tested ctrl-shift-{g,x,z} bindings both without and with kitty's shell integration on top; everything seems to work. Let's simplify kitty integration by removing the markers for the upcoming fish >= 3.8. I have hopes that the native OSC 133 implementation address kovidgoyal#7200 though I'm not sure if I could reproduce this bug (I only saw a similar bug when `fish_handle_reflow` was not enabled, which fish also does now (same commit)). cc @iacore let me know if you can reproduce kovidgoyal#7200 with latest fish master. [1]: fish-shell/fish-shell@3b9e3e2
Describe the bug
text printed by keybind in fish disappear when screen is repaint (such as resizing the window)
To Reproduce
Steps to reproduce the behavior:
kitty --config NONE fish
bind \eg 'echo; git status; git remote -v; echo; commandline -f repaint'
Screenshots
The screenshots below show the whole window width.
After
git init
, I pressed Alt+g, and git information is shown.Then, I resize the kitty window to be wider, and the git info text is gone, leaving an empty space.
Environment details
Additional context
Ctrl+Shift+G (show last command output in pager) ignores the output printed by fish keybind. I think this is the appropriate behavior.
Can reproduce with
kitty --config NONE
. Latest fish version (3.7.0) probably works too.The issue is first discussed in fish-shell/fish-shell#10289.
The text was updated successfully, but these errors were encountered: