wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
17.98k stars 806 forks source link

Double-click draggable area of tab bar to maximise (or un-maximise) when window_decorations "TITLE" is disabled #6386

Open daviewales opened 1 week ago

daviewales commented 1 week ago

Is your feature request related to a problem? Please describe.

When window_decorations does not contain TITLE, double-clicking the draggable region of the tab bar to does nothing.

Describe the solution you'd like

I would like to be able to double-click the draggable region of the tab bar to maximise the window.

This is similar to the behaviour of other programs with integrated tab bars such as Firefox.

For example, with the config:

config.window_decorations = "RESIZE"

I want to be able to double-click any of the grey region in this screenshot to maximise (or un-maximise) the window.

image

Describe alternatives you've considered

Adding the INTEGRATED_BUTTONS flag to window_decorations is a decent work-around, as it makes it possible to manage the window using the mouse without requiring the TITLE flag. However, it would still be nice to be able to double-click the tab bar similar to other programs.

config.window_decorations = "RESIZE|INTEGRATED_BUTTONS"

Related to #1180.