Scrolling down in VIM scrolls up duplicated vim status lines #7186

Open
opened 2026-01-31 00:57:18 +00:00 by claunia · 0 comments
Owner

Originally created by @0xd4d on GitHub (Mar 28, 2020).

Originally assigned to: @DHowett-MSFT on GitHub.

Environment

Windows build number: Microsoft Windows [Version 10.0.18363.720]   
Windows Terminal version (if applicable): 0.10.781.0

vim for Windows (official git build): VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jan 16 2020 08:26:10)

Steps to reproduce

  • Start vim: vim (the one that comes with git version 2.26.0.windows.1)
  • Press i
  • Press ENTER until it starts scrolling the screen
  • (to exit vim): ESC and then type :q! and then ENTER 😄

Expected behavior

The status line stays where it's supposed to be, at the bottom of the screen.

Actual behavior

Every time a the screen is scrolled down, the last line (white status line) is scrolled up, and a new white status line is printed at the bottom. This results in two white lines, then 3, etc...

This does not reproduce if I use the old cmd.exe (started by eg. Explorer, not wt.exe)

Originally created by @0xd4d on GitHub (Mar 28, 2020). Originally assigned to: @DHowett-MSFT on GitHub. # Environment ```none Windows build number: Microsoft Windows [Version 10.0.18363.720] Windows Terminal version (if applicable): 0.10.781.0 vim for Windows (official git build): VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jan 16 2020 08:26:10) ``` # Steps to reproduce - Start vim: `vim` (the one that comes with `git version 2.26.0.windows.1`) - Press `i` - Press `ENTER` until it starts scrolling the screen - (to exit vim): `ESC` and then type `:q!` and then `ENTER` 😄 # Expected behavior The status line stays where it's supposed to be, at the bottom of the screen. # Actual behavior Every time a the screen is scrolled down, the last line (white status line) is scrolled up, and a new white status line is printed at the bottom. This results in two white lines, then 3, etc... This does not reproduce if I use the old cmd.exe (started by eg. Explorer, not wt.exe)
claunia added the Area-OutputResolution-Fix-CommittedIssue-BugProduct-Conpty labels 2026-01-31 00:57:18 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7186