Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
totkeks opened this issue Sep 21, 2019 · 9 comments
Open

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

totkeks opened this issue Sep 21, 2019 · 9 comments
Labels
Area-User Interface Issues pertaining to the user interface of the Console or Terminal Help Wanted We encourage anyone to jump in on these. Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal.
Milestone

Comments

@totkeks
Copy link

totkeks commented 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.

@totkeks totkeks added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Sep 21, 2019
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Sep 21, 2019
@mdtauk
Copy link

mdtauk commented Sep 21, 2019

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

@Biswa96
Copy link

Biswa96 commented 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.

@zadjii-msft
Copy link
Member

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 zadjii-msft added Area-User Interface Issues pertaining to the user interface of the Console or Terminal Help Wanted We encourage anyone to jump in on these. Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal. and removed Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. labels Sep 23, 2019
@zadjii-msft zadjii-msft added this to the Terminal Backlog milestone Sep 23, 2019
@mcpiroman
Copy link
Contributor

Just as in #2834:

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

@DHowett-MSFT DHowett-MSFT removed Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Sep 23, 2019
@egmontkob
Copy link

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

@nurbles
Copy link

nurbles commented 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.

@dstrohl
Copy link

dstrohl commented 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.

@rphlrmblt
Copy link

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

@lhecker
Copy link
Member

lhecker commented 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-User Interface Issues pertaining to the user interface of the Console or Terminal Help Wanted We encourage anyone to jump in on these. Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests