wez / wezterm

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

Pinch to zoom #4184

Open TheButlah opened 1 year ago

TheButlah commented 1 year ago

Is your feature request related to a problem? Please describe. iTerm2 supports a pinch to zoom. It lets the user easily adjust the size of the font.

Describe the solution you'd like Two-finger-pinch should zoom out, and vice versa. Probably accomplished by changing the font size. It might also change the window size, to keep the number of characters visible the same. A clear and concise description of any alternative solutions or features you've considered.

Additional context I'm happy to implement this! If its a feature that would be accepted

wez commented 1 year ago

Related to:

Note that wezterm has no touch support on any platform.

If you want to add touch related features, there needs to be a design/consideration for how it works on all 4 windowing environments: Windows, macOS, X11 and Wayland.

TheButlah commented 1 year ago

To clarify - I mean pinching the trackpad, not the screen

wez commented 1 year ago

Yes; both surfaces have touch input and wezterm doesn't have support for touch on any OS yet today.

phush0 commented 1 year ago

On windows if you use pinch to zoom from trackpad, leads to sporradik jump inside neovim something like super page up or down and it is a very unpleasant experience.