diff --git a/output.txt b/output.txt deleted file mode 100644 index 109e1bc..0000000 --- a/output.txt +++ /dev/null @@ -1,27 +0,0 @@ -info: Starting mezzaluna -info: Creating root of mezzaluna - -debug: Loaded lua -info: Starting backend -error: New input request for input that is not a keyboard or pointer: Lid Switch -info: Handling a new output - eDP-1 -debug: adding output: eDP-1 -info: Starting server -warn: wayland.c:1777: compositor does not implement the primary selection interface -warn: wayland.c:1780: compositor does not implement XDG activation, bell.urgent will fall back to coloring the window margins red -warn: wayland.c:1786: compositor does not implement fractional scaling -warn: wayland.c:1789: compositor does not implement server-side cursors, falling back to client-side cursors -warn: wayland.c:1794: compositor does not implement the XDG toplevel icon protocol -warn: wayland.c:1799: text input interface not implemented by compositor; IME will be disabled -debug: Request for new toplevel -debug: Mapping view 'foot' -Segmentation fault at address 0xc8f8920 -???:?:?: 0xc8f8920 in ??? (???) -Unwind information for `???:0xc8f8920` was not available, trace may be incomplete - - err: wayland.c:1675: failed to read events from the Wayland socket: Broken pipe - err: wayland.c:2318: failed to roundtrip Wayland display: Broken pipe - err: wayland.c:2318: failed to roundtrip Wayland display: Broken pipe - err: wayland.c:2318: failed to roundtrip Wayland display: Broken pipe -warn: terminal.c:2029: slave exited with signal 1 (Hangup) - err: wayland.c:2283: failed to flush wayland socket: Broken pipe diff --git a/src/lua/api.zig b/src/lua/api.zig index e61eea0..2d76c88 100644 --- a/src/lua/api.zig +++ b/src/lua/api.zig @@ -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", .{}); };