qterminal icon indicating copy to clipboard operation
qterminal copied to clipboard

Terminal prints garbage when moving cursor in Vim

Open marcelomd opened this issue 5 years ago • 1 comments

I'm using a fresh install of Fedora 31 with Lxqt. while using Vim in the terminal, moving the cursor down leaves garbage (usually underlines/underscores or pipes) in the last "active line".

Expected Behavior

Cursor should move cleanly without printing garbage.

Current Behavior

Cursor leaves garbage when moving. Usually underscores/underlines at position 1. This happens when inserting a blank line, moving down, moving up and writing characters to a new line.

In the image below is my .vimrc. I opened the file and pressed arrow down +- 10 times. Note the underlined characters at position 1. Moving with "hjkl" does the same. IMG_20191111_141746145_HDR

Sorry for the picture, the screenshot tool doesn't show the garbage.

Steps to Reproduce (for bugs)
  1. Open a file with Vim. New or existing;
  2. Start writing or moving the cursor;
Context

This is a fresh install of Fedora with Lxqt. I just installed my usual development packages (git, gcc, etc.). Nothing that would affect visuals.

System Information
  • Fedora: Fedora release 31 (Thirty One)
  • Kernel: Linux localhost.localdomain 5.3.8-300.fc31.x86_64 #1 SMP Tue Oct 29 14:28:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
  • Lxqt: LXQt Version | 0.14.1
  • Qt: Qt | 5.12.5
  • qterminal: 0.14.1
  • Vim: VIM - Vi IMproved 8.1 (2018 May 18, compiled Oct 30 2019 00:00:00)
    I don't know how to get the other versions (build and widget).

Thanks!

marcelomd avatar Nov 11 '19 17:11 marcelomd

can't reproduce with rockstor and some epl repos - and to be honest: with rockstor i have some other issues :) - restarting terminals, lxqt-config chrashes if called from the menu etc. So maybe it's a matter of wong building order or poor symbol handling - or simple bad luck. Will not intsall F31 on real hardware to reproduce :D

agaida avatar Nov 11 '19 18:11 agaida