Skip to content

kitty does not render cursor correctly when fg&bg are set to reverse on the text under the cursor #5897

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

Closed
zhou13 opened this issue Jan 18, 2023 · 0 comments
Labels

Comments

@zhou13
Copy link

zhou13 commented Jan 18, 2023

To Reproduce
Steps to reproduce the behavior:

  1. make sure cursor none is in kitty's config
  2. open vim /etc/profile
  3. type :syntax on and press enter
  4. type :colorscheme torte and press enter
  5. type :set hls and press enter
  6. type /if and press enter
  7. you will find your cursor missing. This is probably because if is highlighted with reverse in vim, which conflicts with cursor none

Screenshot 2023-01-17 at 5 13 47 PM

Expected: See iTerm2 result, where i is correctly highlighted. Note that my iTerm2 is also configured so that fg&bg is swapped on cursor.

Screenshot 2023-01-17 at 5 14 22 PM

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

No branches or pull requests

1 participant