Feature Request: Show terminal size when resizing the window #3958

Open
opened 2026-01-30 23:34:15 +00:00 by claunia · 11 comments
Owner

Originally created by @totkeks on GitHub (Sep 21, 2019).

Description of the new feature/enhancement

There was this cool feature in PuTTY, that when you resize the window, it also tells you the size of the window in COLUMNS and ROWS in a small tooltip. This would make it easier for users to set the terminal to their appropriate size.

I know there is a setting for the initial size, but sometimes you want to resize your terminal to an exact size and this feature would help.

Proposed technical implementation details (optional)

Whenever the terminal window is resized by the user using either the mouse or other hotkeys, then a little tooltip will appear and show the current size (COLUMNS x ROWS) of the terminal.

Originally created by @totkeks on GitHub (Sep 21, 2019). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 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! --> # Description of the new feature/enhancement There was this cool feature in PuTTY, that when you resize the window, it also tells you the size of the window in COLUMNS and ROWS in a small tooltip. This would make it easier for users to set the terminal to their appropriate size. I know there is a setting for the initial size, but sometimes you want to resize your terminal to an exact size and this feature would help. <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> # Proposed technical implementation details (optional) Whenever the terminal window is resized by the user using either the mouse or other hotkeys, then a little tooltip will appear and show the current size (COLUMNS x ROWS) of the terminal. <!-- A clear and concise description of what you want to happen. -->
claunia added the Help WantedIssue-TaskProduct-TerminalArea-UserInterface labels 2026-01-30 23:34:15 +00:00
Author
Owner

@mdtauk commented on GitHub (Sep 21, 2019):

This could be displayed in the status bar, when it is implemented

@mdtauk commented on GitHub (Sep 21, 2019): This could be displayed in the status bar, when it is implemented
Author
Owner

@Biswa96 commented on GitHub (Sep 23, 2019):

How about in the corner of the main window from where it is resized. I mean when we resize the window our focus is in that corner.

@Biswa96 commented on GitHub (Sep 23, 2019): How about in the corner of the main window from where it is resized. I mean when we resize the window our focus is in that corner.
Author
Owner

@zadjii-msft commented on GitHub (Sep 23, 2019):

This seems like a good and reasonable feature request. IMO this doesn't need to be part of the status bar and could just be a little popup like @Biswa96 suggests.

@zadjii-msft commented on GitHub (Sep 23, 2019): This seems like a good and reasonable feature request. IMO this doesn't need to be part of the status bar and could just be a little popup like @Biswa96 suggests.
Author
Owner

@mcpiroman commented on GitHub (Sep 23, 2019):

Just as in #2834:

how does this work with multiple panes open? Especially if the panes have different fonts or font sizes?

@mcpiroman commented on GitHub (Sep 23, 2019): Just as in #2834: > how does this work with multiple panes open? Especially if the panes have different fonts or font sizes?
Author
Owner

@egmontkob commented on GitHub (Sep 27, 2019):

Just as in #2834:

how does this work with multiple panes open? Especially if the panes have different fonts or font sizes?

I don't think it's an issue here, is it? You could just show each pane's size at the corner or center of that particular pane. This is what Konsole does:

konsole-resize

@egmontkob commented on GitHub (Sep 27, 2019): > Just as in #2834: > > > how does this work with multiple panes open? Especially if the panes have different fonts or font sizes? I don't think it's an issue _here_, is it? You could just show each pane's size at the corner or center of that particular pane. This is what Konsole does: ![konsole-resize](https://user-images.githubusercontent.com/5750745/65762325-0f65a200-e121-11e9-9c2a-7e3a9c05835f.png)
Author
Owner

@nurbles commented on GitHub (Feb 21, 2020):

I was thinking that the tab/title text of the active tab could be replaced by the size of the active tab during a resize. Or perhaps the text for every tab could show the tab's size.

The question of different fonts for each tab brings to mind all of my fixed-width font programs... The user sets the font face and the number of rows/columns and my code determines the best fit font for the current window size (leftover pixels are used as a "frame" in the background color around the text area.) Perhaps we actually want a way to right-click on a tab and say something like, "This tab ALWAYS has XX rows and YY columns." Then Windows Terminal could generate the best font for the required size.

@nurbles commented on GitHub (Feb 21, 2020): I was thinking that the tab/title text of the _active_ tab could be replaced by the size of the active tab during a resize. Or perhaps the text for **every** tab could show the tab's size. The question of different fonts for each tab brings to mind all of my fixed-width font programs... The user sets the font face and the number of rows/columns and my code determines the best fit font for the current window size (leftover pixels are used as a "frame" in the background color around the text area.) Perhaps we actually want a way to right-click on a tab and say something like, "This tab **ALWAYS** has XX rows and YY columns." Then Windows Terminal could generate the best font for the required size.
Author
Owner

@dstrohl commented on GitHub (Jun 2, 2020):

To me;
The MVP would be to show all of the impacted sizes each time I am resizing things,

  • If there are no panes, it would only show the window size, in the lower left corner or perhaps where the mouse is "pulling".
  • if you have panes, and are resizing the panes (not the window), it would only show the pane sizes in the middle of the pane..
  • If you have panes and are resizing the window, Show both sizes.
@dstrohl commented on GitHub (Jun 2, 2020): To me; The MVP would be to show all of the impacted sizes each time I am resizing things, - If there are no panes, it would only show the window size, in the lower left corner or perhaps where the mouse is "pulling". - if you have panes, and are resizing the panes (not the window), it would only show the pane sizes in the middle of the pane.. - If you have panes and are resizing the window, Show both sizes.
Author
Owner

@rphlrmblt commented on GitHub (Oct 9, 2024):

Hello, no news about this feature ?
It seems to be removed from the backlog, so nobody interested ?

@rphlrmblt commented on GitHub (Oct 9, 2024): Hello, no news about this feature ? It seems to be removed from the backlog, so nobody interested ?
Author
Owner

@lhecker commented on GitHub (Oct 9, 2024):

It only moved from one backlog to another backlog. :)
We'll gladly accept a PR for this, but we're currently not planning to work on this ourselves.

@lhecker commented on GitHub (Oct 9, 2024): It only moved from one backlog to another backlog. :) We'll gladly accept a PR for this, but we're currently not planning to work on this ourselves.
Author
Owner

@nurbles commented on GitHub (Dec 12, 2024):

Is there any way to vote for feature requests? I would vote for this one.

@nurbles commented on GitHub (Dec 12, 2024): Is there any way to vote for feature requests? I would vote for this one.
Author
Owner

@zadjii-msft commented on GitHub (Dec 12, 2024):

@nurbles If you'd like to upvote this feature, the best way to do that is by hitting the 👍 button on this issue

image (this might be an old screenshot)

Image

@zadjii-msft commented on GitHub (Dec 12, 2024): @nurbles If you'd like to upvote this feature, the best way to do that is by hitting the 👍 button on this issue ![image](https://user-images.githubusercontent.com/18356694/96140789-ef3c8880-0ec5-11eb-82e0-30ce4977b9a7.png) (_this might be an old screenshot_) ![Image](https://github.com/user-attachments/assets/ea321279-e84c-4726-8372-95e625ff04be)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3958