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
Unable to get shell integration working correctly (MacOS, Zsh) #4788
Comments
Hugely appreciate the work you've done on this terminal @kovidgoyal by the way 🙇♂️ |
I can reproduce the issue. I remember that there was a recent update to |
This is just because less on macOS does not handle OSC escape codes. It's a real shame macOS has such poor basic utilities. |
Oh @kovidgoyal I totally see, well 😅 I was hoping, especially for the fantastic ctrl+shift+g I could start using |
leave it open for now, let me think about it. |
Hey @kovidgoyal, I've just tried using
Still seeing those escape codes 🤔 |
Also seeing the escape codes when trying out |
That's because there is no homebrew bin directory in kitty's own environment variable PATH. As for using Neovim as a pager, here is my configuration and it works fine. |
I also see this problem on Linux with the following versions: |
Update your less to the latest version. (I know some older lts distributions still use this old version.) The new version of less fixes a lot of problems and is worth updating, since you are using the latest fish and kitty. You don't need to override the ones that come with the system, if you don't want to break other dependencies. Just change the kitty scrollback pager to point to a different path to latest less. I've fixed it but never submitted a PR because I didn't think it was worth it. It's a waste of time to start additional process to check the version or check the sentinel file every time. |
Yes, it works with less 590. Thanks for the quick reply, I'm really not used to the less version making a difference! |
Describe the bug
Prepending prompts with some sort of escape code
133;A
and command output with133;C
.To Reproduce
Steps to reproduce the behavior:
Recording
https://user-images.githubusercontent.com/23600725/156856048-68ed461a-988c-4ec8-801e-3d4a4252e25d.mov
Environment details
Additional Context
Escape codes are not prepended upon
shell_integration disabled
.The text was updated successfully, but these errors were encountered: