Vim statusbar not fully redrawing after Windows Terminal update #18088

Open
opened 2026-01-31 06:03:19 +00:00 by claunia · 0 comments
Owner

Originally created by @AP-Foundation on GitHub (Aug 2, 2022).

Windows Terminal version

1.14.1962.0

Windows build number

10.0.19044.0

Other Software

On Windows:

  • OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2

In SSH target (standard Debian install; have not tested on other distros):

  • Debian 11.4
  • Vi IMproved 8.2 (2019 Dec 12, compiled Oct 01 2021 01:51:08)

Steps to reproduce

  1. SSH into host machine, launch vim
  2. Enable status bar in vim, if not already enabled (":set laststatus=2")
  3. Open two files within vim, in separate tabs. The issue is more obvious if the two filenames are meaningfully different in character lengths.
  4. Starting in the tab with shorter file name, switch to tab with longer file name, and then switch back to tab with the shorter file name.

Expected Behavior

When switching between tabs, the status bar should cleanly update with the active filename.

Actual Behavior

  1. Starting on file with shorter filename, notice the status bar looks normal.
    terminal_1

  2. Switch tabs to the file with the longer name, again looks normal.
    terminal_2

  3. Switch tabs back to the file with shorter filename. Notice the background of the status bar did not properly refresh.
    terminal_3

  4. Even switching back to the tab with longer filename shows an empty block.
    terminal_4

This issue does NOT occur when using either the native Command Prompt or PowerShell apps; and only recently began occurring within Windows Terminal (using either built in PowerShell or Command Prompt)

Originally created by @AP-Foundation on GitHub (Aug 2, 2022). ### Windows Terminal version 1.14.1962.0 ### Windows build number 10.0.19044.0 ### Other Software On Windows: - OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2 In SSH target (standard Debian install; have not tested on other distros): - Debian 11.4 - Vi IMproved 8.2 (2019 Dec 12, compiled Oct 01 2021 01:51:08) ### Steps to reproduce 1. SSH into host machine, launch vim 2. Enable status bar in vim, if not already enabled (":set laststatus=2") 3. Open two files within vim, in separate tabs. The issue is more obvious if the two filenames are meaningfully different in character lengths. 4. Starting in the tab with shorter file name, switch to tab with longer file name, and then switch back to tab with the shorter file name. ### Expected Behavior When switching between tabs, the status bar should cleanly update with the active filename. ### Actual Behavior 1. Starting on file with shorter filename, notice the status bar looks normal. ![terminal_1](https://user-images.githubusercontent.com/6182187/182398397-4fc8e97e-8cce-4e0b-bfa3-55d963ff5e27.PNG) 2. Switch tabs to the file with the longer name, again looks normal. ![terminal_2](https://user-images.githubusercontent.com/6182187/182398476-c0aed69f-77eb-48eb-aee6-8b7745316791.PNG) 3. Switch tabs back to the file with shorter filename. Notice the background of the status bar did not properly refresh. ![terminal_3](https://user-images.githubusercontent.com/6182187/182398688-47f3beb0-acdd-4a4a-bc35-c8ceead2a19a.PNG) 4. Even switching back to the tab with longer filename shows an empty block. ![terminal_4](https://user-images.githubusercontent.com/6182187/182398815-3055041d-c237-4826-9fd0-a6c6409b3807.PNG) **This issue does NOT occur when using either the native Command Prompt or PowerShell apps; and only recently began occurring within Windows Terminal (using either built in PowerShell or Command Prompt)**
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 06:03:19 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18088