Weird artifacts in Terminator?
frioux opened this issue · 17 comments
I have a pretty complex setup, feel free to peak at my dotfiles, but basically this commit causes problems in terminator. I can reproduce the issue both in and out of tmux. My modeline (and sometimes autocomplete menus) end up with characters like �[2 q
or �[6 q
inserted all over the place. Let me know if there's anything I can do to help.
That commit link isn't working for me. Got another?
I don't know the cause yet but I just took a look at your dotfiles. Awesome overengineering there, much like my own!
I just rolled back to before that commit, fwiw.
@CaninoDev: is the repetition consistently reproducible?
I just rolled back to before that commit, fwiw.
And if it is consistently reproducible, does it go away when you roll back?
This might largely be a terminator issue and not a Terminus issue.
Yes, could be. If so, it would be nice to:
- Figure out the cause and fix it upstream in Terminator.
- Make some defensive change to Terminus that makes things work even in the presence of an old/unpatched version of Terminator.
Do you have any idea of what the exact upstream issue is?
A related question: is there some environment variable or something that Terminus can check at runtime to detect that it is running inside Terminator?
Looks like TERMINATOR_UUID=urn:uuid:f746e224-4f5a-495c-b180-51785500a463
on mine.
I am not sure if it is the right thing to do to turn off cursor shape changes automatically when running in Terminator, but if you wanted to do it yourself you could add something like this to your ~/.vimrc
:
let g:TerminusCursorShape=0
As I said, not sure if it's the right thing to do, but if we want to, we could use something like bad3deb (just pushed to the terminator
branch) to disable support for cursor shape changes in Terminator.
Both Prioux's bug and mine are independent of .vim (at least on my end).
So updating Terminator to v1.91 via ppa:gnome-terminator/nightly-gtk3 solves the problems of artifacts. However, tmux modeline now disappears. But I suppose this is outside the scope of terminator as this is meant to replace tmux.
I just updated to fix a different issue and I think this is fixed now. Give me a few days and I'll close it.
Glad to hear you got it fixed.