Skip to content

Fix issue with some terminal that might not properly support kitty #920

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PitiBouchon
Copy link

@PitiBouchon PitiBouchon commented Jun 11, 2025

Reason

On terminal like Alacritty, Rioterm and Ghostty that "kind of support" kitty protocol (but maybe not perfectly ?), the side-effect of supports_keyboard_enhancement seems to cause some issues when some characters are printed on linux (cf. nushell/nushell#13570 (comment))

Using kitty_protocol_available only once when the struct is initialized would solve the issue and I think is a bit better to do.

Alternative

use a a static std::sync::Once instead ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant