-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Panes should be resizable with the mouse #992
Comments
Assigning to myself for now. I imagine it won't be too difficult. If anybody would like to take a crack at it though, feel free to let me know and we could just do a handoff. 😊 |
One idea I have would be to not even require a user to target a potentially thin separator, but while holding down Alt (to retain the theme with the pane key bindings) and dragging the mouse up and down over one horizontally split pane, resize that one height wise. And the same when moving the mouse left and right over a vertically split pane. |
It would be nice if, while resizing, a percent or pixel adornment showed up that indicates the new sizes for both panes. |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as spam.
This comment was marked as spam.
Yep, we haven't had a chance to loop back on this, though we'd love the the contribution if you're interested!
I don't think it'd be terribly difficult to resurrect the same approach (but base it off |
Massively agree with this new feature! Resizing via the keyboard is annoying. Also there are currently too many keyboard shortcuts to remember for an old man such as myself :> |
I think dragging the panes is the wrong UX. It's always a pain the try and get the tiny mouse sitting on the tiny drag bar. The alternative is to make the drag bar thicker and waste terminal space. I propose an alterative. We already have to change the font size. If we add and instead of changing font size, it resizes the pane. The location of the mouse itself gives the hint as to where to resize. left, right, up down. This could easily be solved with a few more key modifiers. Unfortunately 'keys' don't include mouse modifiers. If the keys could also handle mouse actions as well then the above could be implemented by the user. |
This comment was marked as spam.
This comment was marked as spam.
Punted to 1.23. |
hi is this working and available in stable version ? how do i drag pane divider in windows terminal ? do i have to press Alt or any other keyboard key while dragging pane divider ? |
Probably depends on #991 getting done first
Drag a separator to (recursively) resize the panes that are separated by that separator.
The text was updated successfully, but these errors were encountered: