From 1b83dfe6525d43aadaf35fff7fc8382c5bf54c95 Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Wed, 24 Jan 2024 06:25:45 -0600 Subject: [PATCH] fix: don't use sixel geometry query yet This query has a response that interferes with key f4. We need to fix that parsing before doing sixel queries, and we don't even support sixels yet. Signed-off-by: Tim Culverhouse --- src/Window.zig | 1 - src/vaxis.zig | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Window.zig b/src/Window.zig index b6e3d9d..cd5bc12 100644 --- a/src/Window.zig +++ b/src/Window.zig @@ -76,7 +76,6 @@ pub fn clear(self: Window) void { /// returns the width of the grapheme. This depends on the terminal capabilities pub fn gwidth(self: Window, str: []const u8) usize { const m: gw.Method = if (self.screen.unicode) .unicode else .wcwidth; - log.info("using method {any}", .{m}); return gw.gwidth(str, m) catch 1; } diff --git a/src/vaxis.zig b/src/vaxis.zig index 2ebd96b..8431f6a 100644 --- a/src/vaxis.zig +++ b/src/vaxis.zig @@ -210,7 +210,8 @@ pub fn Vaxis(comptime T: type) type { // parse that // that // _ = try tty.write(ctlseqs.kitty_graphics_query); - _ = try tty.write(ctlseqs.sixel_geometry_query); + // TODO: sixel geometry query interferes with F4 keys. + // _ = try tty.write(ctlseqs.sixel_geometry_query); // TODO: XTGETTCAP queries ("RGB", "Smulx")