Saturday, December 28, 2019

Re: Visual artifacts when running in some terminal emulators

On Sat, Dec 28, 2019 at 4:00 PM Олег Андриянов <o.andriyanov@gmail.com> wrote:
>
> Hi!
>
> Recently I have built fresh vim 8.2 to use it's embedded terminal feature, and I started to notice some weird artifacts when inserting text. It's like vim forgets to redraw the screen or something. For example, here is a screenshot right after I run "vim-8.2 -u NONE" and hit "i" to start inserting text:
>
> https://i.imgur.com/mHq18Ni.png
>
> Note that I didn't actually enter anything after hitting "i". Also note that welcome screen text is still present on the screen — it must disappear when you switch to the insert mode. When I hit Ctrl+L, the artifacts disappear, but they come back every time I start inserting.
>
> I observe the problem only when I run vim inside terminator. When I use xterm, everything works fine. It also works well when I run vim inside GNU screen. There is no such issue with vim version 8.0.197 running inside the same terminator.
>
> I really like new features of vim 8.2. How can I work around this glitches, besides always starting vim inside GNU screen?

Hm. My guess is that your Terminator executable pretends to be an
xterm but doesn't act 100% like one, and that you hit one of those
corner cases when it doesn't.

Vim works well, and doesn't show those spurious characters, in the
following circumstances:
- when run as gvim (i.e. as a GUI)
- when run in a "true" xterm
- when run in a pseudo xterm which really mimics the behaviour of a
true xterm. My konsole terminal (version 18.12.3) is one. There are
others.

Myself, I don't use Terminator, but maybe someone else (who does) is
reading this.

Best regards,
Tony.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAJkCKXvak6CVnosVWOUw_8KQxW4GEq9vMGToqDPEHb79qSNyqw%40mail.gmail.com.

No comments: