[BUG] Issue with window resize
bug
### Describe the bug
Hi all,
That was my first steps with ML4W, I found a small bug, to be fixed relatively fast.
In keybindings configuration default.lua there is lack of relative = true directive, making window resize unusable with message ?.? invalid size.
Original :
--hl.bind(mainMod .. " + SHIFT + right", hl.dsp.window.resize({ x = 100, y = 0 }), { description = "Increase window width with keyboard" })
Fixed:
hl.bind(mainMod .. " + SHIFT + right", hl.dsp.window.resize({ x = 100, y = 0, relative = true }), { description = "Increase window width with keyboard" })
Kind regards
Sl.
### Steps to reproduce
1. Run terminal in window
2. Press Shift + Super + arrows (left, right etc)
3. Message will appear - window won't be resized
### Expected behavior
Window to be resized
### Screenshots
_No response_
### Distribution
Arch Linux
### If Other, specify
_No response_
### Additional context
Thanks for your work, ML4W looks stunning
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
关闭于 2026-05-31 1 条评论