Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.53k stars 572 forks source link

Display issues in `vim` under `screen` as of most recent Windows 10 update #2421

Open intuited opened 2 years ago

intuited commented 2 years ago

Versions

ConEmu build: 220308 [64] [Preview] OS version: Windows 10 x64 Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): WSL 2, ubuntu 20.04, bash

Problem description

Since latest Windows update to KB 5011487, vim has not been working properly under either GNU Screen or Tmux.

Under screen, there are alignment issues: the tab bar does not display properly or consistently; the cursor appears on a different line than its true position; some displayed text is incorrect or not updated.

Under tmux, similar issues are occurring.

This problem is not occurring when running vim under screen in a gnome-terminal window (launched from ConEmu) or in Windows Terminal.

Steps to reproduce

  1. Start ConEmu with a WSL 2 session
  2. Start screen session
  3. Start vim session, opening multiple files using the -p option
  4. Switch between tabs using gt or similar

Actual results

The top tab bar should consistently display the current tab; line numbering should show line 1 at the top of the file

Expected results

Tab bar becomes corrupted or is not displayed; top line number is sometimes greater than 1.