jesseduffield / lazygit

simple terminal UI for git commands
MIT License
52.98k stars 1.85k forks source link

Cursor flickering when entering text inside of a tmux session #3434

Open antmelon opened 7 months ago

antmelon commented 7 months ago

Describe the bug When using a text form such as the commit popup inside of a tmux session, the cursor will flicker at random points on the gui while typing. Outside of a tmux session this behavior is not seen

To Reproduce Steps to reproduce the behavior:

  1. Launch tmux session
  2. Open Lazygit and enter a text popup such as the commit form
  3. When typing screen tare/cursor flicker can be seen

Expected behavior No random cursor flashing should be happening on GUI

Version info: lazygit commit=3675570a391b1a49ddd198b4c7e71e17701d4404, build date=2024-03-23T09:09:11Z, build source=binaryRelease, version=0.41.0, os=linux, arch=amd64, git version=2.25.1 git version 2.25.1

laurentS commented 5 months ago

I'm observing the same issue, both with lazygit 0.41 and 0.42, both downloaded from the release page (linux_x84_64 builds), running on debian sid. I did not see this problem before, so it's likely a regression in 0.41. As OP, I only see the flickering inside tmux. I use alacritty as a term, but that's probably unrelated.

Current lazygit version: commit=6fcb7eb8bb616c170506312870b3bf15f3dbe37c, build date=2024-05-19T10:15:28Z, build source=binaryRelease, version=0.42.0, os=linux, arch=amd64, git version=2.43.0

Kaarel commented 4 months ago

Same experience on Windows Terminal. Typing into the "Commit summary" is laggy and flickery. See the attached gif. It's not bad recording quality or slow network, this is how it actually looks and feels.

Lazygit version: commit=6fcb7eb8bb616c170506312870b3bf15f3dbe37c, build date=2024-05-19T10:15:28Z, build source=binaryRelease, version=0.42.0, os=windows, arch=amd64, git version=2.45.2.windows.1

Lazygit laggy typing

peterlandry commented 3 months ago

Same issue with zellij on Mac.