im back baby

This commit is contained in:
Harrison DiAmbrosio 2025-11-07 22:32:22 -05:00
parent 3b6685c25f
commit b45544c97a
2 changed files with 1 additions and 27 deletions

View file

@ -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", .{});
};