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 <tim@timculverhouse.com>
This commit is contained in:
parent
9f89ed06f3
commit
1b83dfe652
2 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,6 @@ pub fn clear(self: Window) void {
|
||||||
/// returns the width of the grapheme. This depends on the terminal capabilities
|
/// returns the width of the grapheme. This depends on the terminal capabilities
|
||||||
pub fn gwidth(self: Window, str: []const u8) usize {
|
pub fn gwidth(self: Window, str: []const u8) usize {
|
||||||
const m: gw.Method = if (self.screen.unicode) .unicode else .wcwidth;
|
const m: gw.Method = if (self.screen.unicode) .unicode else .wcwidth;
|
||||||
log.info("using method {any}", .{m});
|
|
||||||
return gw.gwidth(str, m) catch 1;
|
return gw.gwidth(str, m) catch 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -210,7 +210,8 @@ pub fn Vaxis(comptime T: type) type {
|
||||||
// parse that
|
// parse that
|
||||||
// that
|
// that
|
||||||
// _ = try tty.write(ctlseqs.kitty_graphics_query);
|
// _ = 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")
|
// TODO: XTGETTCAP queries ("RGB", "Smulx")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue