wezterm
wezterm copied to clipboard
font size affects window size
What Operating System(s) are you seeing this problem on?
macOS
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
wezterm 20230904-133103-914f18b1
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 the font size is less than 13.7, the window size is standard at 80*24. However, when the font size is greater than or equal to 13.8, the window size changes to 172*49 after restarting wezterm.
To Reproduce
No response
Configuration
return {
font_size = 13.8,
}
Expected Behavior
No response
Logs
No response
Anything else?
No response
is this on an external monitor?
is this on an external monitor?
Yes, I'm using a Mac Mini.
Later, I discovered that using different fonts would result in different threshold values.
Please try the latest nightly build and let me know if this is still an issue!
Thank you, the fix works for me.
The problem has reoccurred, possibly because I didn't connect my second external monitor on the day of testing, so I thought it was fixed. Just now, I disconnected the monitor that hasn't been used for the past few days and restarted my Mac mini, and indeed the issue doesn't exist anymore. The issue was resolved when connecting an external monitor, so I reopened this issue.
I'm not clear on when the issue triggers now; could you clarify what is needed for it to occur now?
When my Mac Mini is connected to two external monitors, the same problem occurs as before.