mirror of
https://github.com/hyprwm/Hyprland.git
synced 2026-08-18 11:02:10 +00:00
* hyprctl(repl): go interactive if no Lua was given via args The previous check would mess up if `-i` was provided, since it'd see *an argument* and refuse to go interactive, even when it should've (i.e. `hyprctl -i 0 repl`). * ipc(socket1): new escape parsing for batch commands Semicolons are still the command separator, so those have to be escaped if they appear anywhere inside of commands (e.g. multi-statement Lua code). Also, literal backslashes need to be escaped as well. * tests(ipc): add test for hyprctl batch mode This test case includes slightly weird stuff (semicolons in Lua code; square brackets) that would break the old parsing logic. * format: dang braces