KiTTY icon indicating copy to clipboard operation
KiTTY copied to clipboard

Bug: cursor starts blinking when entering tmux

Open mbunkus opened this issue 3 years ago • 2 comments

kitty portable 0.74.4.13p

Observed behavior: In all my sessions I have the cursor type set to "block" and blinking off:

CurType\0\
BlinkCur\0\

Directly after connecting to a Linux machine, the cursor does not blink, as expected.

However, starting tmux (either a new session or attaching to the existing one) causes the cursor to start blinking. I have to open the current session's settings and apply them (without making any change!) to get the cursor to stop blinking again. Once I've re-applied the session settings, the cursor stays unblinking until I start tmux the next time.

The behavior seems to depend on the tmux version in question. It does NOT happen with tmux 2.3, but it DOES happen with tmux 3.2 on Arch Linux.

The behavior does NOT seem to depend on the kitty version. I've tried the oldest I have lying around here, 0.74.0.5, and it shows the same behavior as the current one.

Steps to reproduce:

  • On current Arch Linux (or other Linux with recent tmux, I guess) create a new user
  • Start kitty & ensure that the cursor is set to NOT blinking in the session settings
  • Connect as that new user; observe the cursor is NOT blinking as wanted
  • Start tmux by calling tmux. Observe that the cursor is now blinking.
  • Exit tmux. Observe that the cursor continues to blink.

mbunkus avatar May 25 '21 09:05 mbunkus

I'm experiencing this as well.

I'm not familiar with how the cursor can be manipulated. But could it be some issue in tmux where it does the equivalent of this answer but for blinking? https://unix.stackexchange.com/a/3760

hogklint avatar Aug 18 '21 09:08 hogklint