Windows-Terminal with vim keeping UTF chars when open/close #12477

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

Originally created by @iguyking on GitHub (Feb 9, 2021).

Environment

Windows build number: 10.0.19042.0
Windows Terminal version (if applicable):  1.5.210127001-release1.5
Starship:  0.50.0
Powershell Core: 7.1.1

Any other software?

Steps to reproduce

  1. Setup Windows Powershell with a valid Powerline capable font and run the starship.rs prompt where it loads terraform or other special modules showing UTF characters in the prompt.
  2. Launch Windows Terminal with a Powershell Session
  3. change into a directory that triggers this complex UTF character to show up on the prompt
  4. Launch vim, close vim
  5. The previous prompts above no longer show the proper characters and the layout is confused. Example: 💠 character.

Red shows the previous - re-rendered incorrectly after exiting vim
Yellow shows a new line.

image

Expected behavior

When leaving vim I would expect to see the same layout as I left.

Actual behavior

The layout is adjusted oddly after leaving vim that were previously displayed properly.

Originally created by @iguyking on GitHub (Feb 9, 2021). # Environment ```none Windows build number: 10.0.19042.0 Windows Terminal version (if applicable): 1.5.210127001-release1.5 Starship: 0.50.0 Powershell Core: 7.1.1 Any other software? ``` # Steps to reproduce 1. Setup Windows Powershell with a valid Powerline capable font and run the starship.rs prompt where it loads terraform or other special modules showing UTF characters in the prompt. 2. Launch Windows Terminal with a Powershell Session 3. change into a directory that triggers this complex UTF character to show up on the prompt 4. Launch vim, close vim 5. The previous prompts above no longer show the proper characters and the layout is confused. Example: 💠 character. Red shows the previous - re-rendered incorrectly after exiting vim Yellow shows a new line. ![image](https://user-images.githubusercontent.com/5004028/107407930-e7859d00-6acf-11eb-8d9e-d41578412a3e.png) # Expected behavior When leaving vim I would expect to see the same layout as I left. # Actual behavior The layout is adjusted oddly after leaving vim that were previously displayed properly.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12477