#1105154 vim-airline: Corrupts buffer text in nvim, but only when running under tmux

#1105154#5
Date:
2025-05-12 11:37:08 UTC
From:
To:
Dear Maintainer,

Running neovim under tmux with the vim-airline package installed results
in corruption of the displayed buffer.

To reproduce:

	$ sudo apt install tmux neovim vim-airline

Start tmux:

	$ tmux

Then, when in tmux:

	$ nvim

Press 'i' to enter insert mode, type something, and instead of blanking
the buffer as expected the welcome text partially stays visible.

Disabling the airline plugin makes the problem go away.

I spun up a fresh VM installed from debian-trixie-DI-alpha1 to ensure
that nothing strange on my machine had led to this.

I'm not actually sure if this is a bug in tmux, neovim or airline, or
some combination of the above, and I'm really not sure how to go about
figuring that bit out. Given the problem only presents with airline,
I'll raise the bug here and hope I've supplied enough information to
help get to the bottom of it!

It seems easily reproducible, but I'm happy to do further testing and
provide further info if helpful.

#1105154#10
Date:
2025-05-15 13:38:03 UTC
From:
To:
I've been able to reproduce the problem by ssh'ing into a bookworm box
from trixie via tmux. This therefore means the bug is most likely more
appropriately raised against tmux, as I have reproduced it with a known
good Neovim/vim-airline combination.

This bug can be closed - and apologies for making noise!

#1105154#15
Date:
2025-07-19 18:21:16 UTC
From:
To:
Hi,

i have this problem only with screen (remote sessions) and not at all on my
desktop (urxvt+tmux / trixie/sid). i can also reproduce it with plain xterm so
i would say it must be vim-airline because as soon as i uninstall it i'm not
seeing this problem anymore.

% apt list '~i?or(~escreen|~evim)'
Listing... Done
screen/stable,now 4.9.0-4 amd64 [installed]
vim-airline/stable,now 0.11-2 all [installed]
vim-common/stable,now 2:9.0.1378-2+deb12u2 all [installed]
vim-nox/stable,now 2:9.0.1378-2+deb12u2 amd64 [installed]
vim-runtime/stable,now 2:9.0.1378-2+deb12u2 all [installed,automatic]
vim-tiny/stable,now 2:9.0.1378-2+deb12u2 amd64 [installed]