Windows Terminal does not pad correctly pad vertically. #15995

Closed
opened 2026-01-31 04:54:21 +00:00 by claunia · 4 comments
Owner

Originally created by @ghost on GitHub (Nov 29, 2021).

Windows Terminal version

latest stable

Windows build number

latest stable Windows 10

Other Software

WSL, neovim, tmux etc.

Steps to reproduce

Launch terminal with padding set to "5" for all sides, centerOnLaunch and initialCols: 90, initialRows: 30

image

first thing to note: the actual initialRows are 31, it is 30 because of tmux, but if tput lines is run outside of tmux, the output is 31. I am assuming this is intentional so the terminal can be centered properly etc.

However, notice the padding on the bottom, it is not 5 pixels, it is a lot more. I saw an issue from earlier where it was stated this is intended, BUT when you hover over the bottom part of the window, the cursor changes to the "resize" shape, and if you simply just click and try dragging, the padding becames fine, BUT the size of the terminal window is not changed

after simply clicking and attempting to resize when the resize cursor appears:

image

Expected Behavior

Padding is fine upon launch

Actual Behavior

Padding is more than what is set in the config

Originally created by @ghost on GitHub (Nov 29, 2021). ### Windows Terminal version latest stable ### Windows build number latest stable Windows 10 ### Other Software WSL, neovim, tmux etc. ### Steps to reproduce Launch terminal with padding set to "5" for all sides, centerOnLaunch and initialCols: 90, initialRows: 30 ![image](https://user-images.githubusercontent.com/67145097/143938085-093dc280-80d5-436d-8469-633aee95edbf.png) first thing to note: the actual initialRows are 31, it is 30 because of tmux, but if tput lines is run outside of tmux, the output is 31. I am assuming this is intentional so the terminal can be centered properly etc. However, notice the padding on the bottom, it is not 5 pixels, it is a lot more. I saw an issue from earlier where it was stated this is intended, BUT when you hover over the bottom part of the window, the cursor changes to the "resize" shape, and if you simply just click and try dragging, the padding becames fine, BUT the size of the terminal window is not changed after simply clicking and attempting to resize when the resize cursor appears: ![image](https://user-images.githubusercontent.com/67145097/143938644-0629445f-9701-4191-bdcf-4292ea7d3095.png) ### Expected Behavior Padding is fine upon launch ### Actual Behavior Padding is more than what is set in the config
claunia added the Resolution-Duplicate label 2026-01-31 04:54:21 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Nov 29, 2021):

Are you launching in focus mode? If so, then I'd suspect this is #10730

@zadjii-msft commented on GitHub (Nov 29, 2021): Are you launching in focus mode? If so, then I'd suspect this is #10730
Author
Owner

@ghost commented on GitHub (Nov 29, 2021):

Yes I am launching in focus mode, after looking at #10733 , it does seem like my problems are the same as the ones in that issue

@ghost commented on GitHub (Nov 29, 2021): Yes I am launching in focus mode, after looking at #10733 , it does seem like my problems are the same as the ones in that issue
Author
Owner

@zadjii-msft commented on GitHub (Nov 29, 2021):

Cool, thanks for confirming!

/dup #10730

@zadjii-msft commented on GitHub (Nov 29, 2021): Cool, thanks for confirming! /dup #10730
Author
Owner

@ghost commented on GitHub (Nov 29, 2021):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Nov 29, 2021): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15995