You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
20240203-110809-5046fc22
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
I am trying to place the initial window on the bottom center of an external screen using:
wezterm.on("gui-startup", function(cmd)
local screen = wezterm.gui.screens().main
local ratio_w = 0.4
local ratio_h = 0.3
local width, height = screen.width * ratio_w, screen.height * ratio_h
local tab, pane, window = wezterm.mux.spawn_window(cmd or {
position = { x = (screen.width - width) / 2, y = (screen.height - height) },
})
window:gui_window():set_inner_size(width, height)
end)
The setting of width, height, and the x position work fine. However, the y always leaves a gap under the Wezterm window, even when I change the y position to an arbitrarily large number.
To Reproduce
Include the code in the .wezterm.lua config file.
Configuration
NA
Expected Behavior
To see no gap under the initial Wezterm window.
Logs
No response
Anything else?
NA
The text was updated successfully, but these errors were encountered:
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
20240203-110809-5046fc22
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
I am trying to place the initial window on the bottom center of an external screen using:
The setting of width, height, and the
x
position work fine. However, they
always leaves a gap under theWezterm
window, even when I change they
position to an arbitrarily large number.To Reproduce
Include the code in the
.wezterm.lua
config file.Configuration
NA
Expected Behavior
To see no gap under the initial
Wezterm
window.Logs
No response
Anything else?
NA
The text was updated successfully, but these errors were encountered: