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

Increasing and decreasing font size through keybinds changes window size. #6322

Closed
NoobJsPerson opened this issue Oct 24, 2024 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@NoobJsPerson
Copy link

What Operating System(s) are you seeing this problem on?

Windows

Which Wayland compositor or X11 Window manager(s) are you using?

No response

WezTerm version

wezterm 20241015-083151-9ddca7bd

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

When you use keybinds to decrease or increase the font size. it increases or decreases the window size respectively.

To Reproduce

  • Open wezterm
  • Press the keybinds to increase or decrease font size
    The window size changes too!

Configuration

no config

Expected Behavior

The font size should change but the window size should stay the same.

Logs

No response

Anything else?

2024-10-24.21-57-09.mp4

this is a video showcasing the bug.

@NoobJsPerson NoobJsPerson added the bug Something isn't working label Oct 24, 2024
@bew
Copy link
Contributor

bew commented Oct 24, 2024

Add this to your config:

config.adjust_window_size_when_changing_font_size = false

ref: https://wezfurlong.org/wezterm/config/lua/config/adjust_window_size_when_changing_font_size.html

Copy link
Contributor

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants