0

Sample Screenshot

The above screenshot shows my problem. As I scroll down in vim, black lines start appearing. Please note that initially all is good, but the problem happens if I scroll down.

I've already tried searching for solutions, almost all the time I end up with gnome 256 color solution and vim t_Co, I've enabled both in the required configuration files already.

1 Answer 1

2

This is a bug in VTE, the terminal emulation widget behind GNOME Terminal and many other terminal emulators. Version 0.44 introduced the breakage and 0.48.3 fixes it.

See the details here, or jump straight away to the fix if you feel like patching and recompiling a particular buggy VTE version. (After installing the patched version, you'll have to close all GNOME Terminal instances at once so that the server process restarts.)

6
  • would that cause problems like this one in vim-airline? Commented May 4, 2017 at 13:13
  • I don't think so, the screenshots look the other way around to be, buggy VTE would err on the side that is depicted there as the correct one. Please note that the linked bugreports mentions iterm and Terminal.app terminal emulators which have nothing to do with VTE. So even if it turns out to be buggy under VTE too, it's probably a bug in vim-airline rather than at least 3 different terminal emulators.
    – egmont
    Commented May 4, 2017 at 15:22
  • It is easily possible, though, that vim-airline looks buggy for the exact same core reason that made us change VTE (and unfortunately broke it in other ways, as seen above) at the first place, in version 0.44.
    – egmont
    Commented May 4, 2017 at 15:25
  • yeah i know it has been reported for different terminals then VTE mentioned here. However, notice that you in your answer explicitly mentioned that other terminals are affected also and second, I really doubt it is a airline bug, but rather a vim bug Commented May 4, 2017 at 15:44
  • Many thanks, I'm on 0.48.2, I guess I'll wait a little longer.
    – jerin
    Commented May 5, 2017 at 3:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .