mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-08 04:57:32 -04:00
im back baby
This commit is contained in:
parent
3b6685c25f
commit
b45544c97a
2 changed files with 1 additions and 27 deletions
|
|
@ -65,6 +65,7 @@ pub fn chvt(L: *zlua.Lua) i32 {
|
|||
const n: u32 = @intFromFloat(f);
|
||||
|
||||
if (server.session) |session| {
|
||||
std.log.debug("Changing virtual terminal to {d}", .{ n });
|
||||
wlr.Session.changeVt(session, n) catch {
|
||||
L.raiseErrorStr("Failed to switch vt", .{});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue