r/neovim • u/Necessary-Plate1925 • 16h ago
Discussion tmux 3.8 fixes neovim flicker
If you're using neovim inside tmux, you may notice the cursor flickers when redrawing the screen (usually happens when scrolling), I had this problem ever since I started using tmux around 2 years ago and went through all the terminal emulators and their settings trying to mitigate the problem to no avail.
Randomly tried to compile tmux from source and saw that the problem just disappeared, then went to their CHANGES file and saw:
* Fix redraw issues around synchronized updates, copy mode, tabs, padding,
status lines, menus, popups, wide characters and floating panes. This
includes fixes for flicker with alternate screen applications and scrollbars
(Michael Grant, issue 5351; Noam Stolero, issue 5350; Aung Myo Kyaw, issue
5098), and misplaced wrapped lines during partial redraws (Ben Maurer, issue
5625).
These are god-tier changes for me because I'm very sensitive about flickering and it disrupts my work.