microsoft / microsoft/terminal

Bad formatting in Windows after exiting vim over ssh

Open
#18,638 5 comments 0 reactions 1 assignee Claimed by @DHowett View on GitHub
Issue-Bug Needs-Attention Needs-Tag-Fix
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

1.21.10351.0

### Windows build number

10.0.19045.0

### Other Software

VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Feb 26 2025 16:35:59)
Included patches: 1-1151
OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2

### Steps to reproduce

1. From a linux machine, running gnome-terminal or foot
2. ssh to windows 10 machine
3. Start vim 9.1
4. Exit vim 9.1 with :q!
5. Observer vim graphical artifacts still in the bottom of the window

![Image](https://github.com/user-attachments/assets/97da3fce-4723-42d7-be0c-05f267f3a69d)

7. Resize the window and they go away

Script log:
[out.log](https://github.com/user-attachments/files/19012369/out.log)

### Expected Behavior

No vim artifacts after exiting.

### Actual Behavior

Vim artifacts left after exiting.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.