ARM build: terminal canvas has incorrect margins #12904

Closed
opened 2026-01-31 03:28:30 +00:00 by claunia · 3 comments
Owner

Originally created by @meta-inf on GitHub (Mar 7, 2021).

Environment

Windows build number: Microsoft Windows [Version 10.0.19042.844]
Windows Terminal version (if applicable): 1.6.10571.0

Any other software? 

This is the ARM version of Windows. My screen resolution is 1920x1080 with 100% scaling.

Steps to reproduce

  • Install Ubuntu 20.04 from windows store, using either WSLv1 or v2 instance.
  • Launch vim or neovim (installed from apt)

Expected behavior

The margin of the screen canvas should be correct, similar to the behavior of cmd.exe (or windows terminal on x86 windows) as shown below:
correct margins (using cmd.exe)

Actual behavior

There are wide extra margins around the vim screen, as shown below (best seen with a light vim colorscheme)

image

Originally created by @meta-inf on GitHub (Mar 7, 2021). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Microsoft Windows [Version 10.0.19042.844] Windows Terminal version (if applicable): 1.6.10571.0 Any other software? ``` This is the ARM version of Windows. My screen resolution is 1920x1080 with 100% scaling. # Steps to reproduce * Install Ubuntu 20.04 from windows store, using either WSLv1 or v2 instance. * Launch `vim` or `neovim` (installed from `apt`) # Expected behavior The margin of the screen canvas should be correct, similar to the behavior of `cmd.exe` (or windows terminal on x86 windows) as shown below: ![correct margins (using `cmd.exe`)](https://user-images.githubusercontent.com/4392226/110244055-e85b0300-7f97-11eb-9ac6-229b7850f83f.png) # Actual behavior There are wide extra margins around the vim screen, as shown below (best seen with a light vim colorscheme) ![image](https://user-images.githubusercontent.com/4392226/110244074-07599500-7f98-11eb-9e17-35c0f9ceb4c6.png)
claunia added the Issue-QuestionNeeds-TriageNeeds-Tag-FixResolution-Answered labels 2026-01-31 03:28:30 +00:00
Author
Owner

@DHowett commented on GitHub (Mar 7, 2021):

This is because vim is setting a background fill color that differs from the rest of the terminal background. I believe we have another issue tracking this- @zadjii-msft?

@DHowett commented on GitHub (Mar 7, 2021): This is because vim is setting a background fill color that differs from the rest of the terminal background. I believe we have another issue tracking this- @zadjii-msft?
Author
Owner

@meta-inf commented on GitHub (Mar 8, 2021):

Just noted the config file on my x86 machine has set "padding" to "0,0,0,0", while the default is "8,8,8,8". Sorry... feel free to close this.

@meta-inf commented on GitHub (Mar 8, 2021): Just noted the config file on my x86 machine has set "padding" to "0,0,0,0", while the default is "8,8,8,8". Sorry... feel free to close this.
Author
Owner

@zadjii-msft commented on GitHub (Mar 8, 2021):

No worries, glad you figured it out!

@zadjii-msft commented on GitHub (Mar 8, 2021): No worries, glad you figured it out!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12904