build: update libvaxis
This commit is contained in:
parent
312d24ed5e
commit
c1b6817493
2 changed files with 3 additions and 6 deletions
|
@ -36,8 +36,8 @@
|
|||
.hash = "1220214dfb9a0806d9c8a059beb9e3b07811fd138cd5baeb9d1da432588920a084bf",
|
||||
},
|
||||
.vaxis = .{
|
||||
.url = "https://github.com/neurocyte/libvaxis/archive/a337ccb2b95b4ad329a230ba3aee9215079ec7f3.tar.gz",
|
||||
.hash = "1220a5ab378e6985b61168be3228a8bcf33f3e03e48b78b72f637bc47a53f8bec7d1",
|
||||
.url = "https://github.com/rockorager/libvaxis/archive/55809160b9623de6b2de6eba1fa56cddec4427b3.tar.gz",
|
||||
.hash = "12209ecb24ac6602e46ad92767dcda3777c2a6cf74d3e51e5e95b599d0ce70d94c62",
|
||||
},
|
||||
.zg = .{
|
||||
.url = "git+https://codeberg.org/dude_the_builder/zg#16735685fcc3410de361ba3411788ad1fb4fe188",
|
||||
|
|
|
@ -248,10 +248,7 @@ pub fn process_input(self: *Self, input_: []const u8) !void {
|
|||
},
|
||||
.cap_da1 => {
|
||||
self.vx.enableDetectedFeatures() catch |e| self.logger.err("enable features", e);
|
||||
self.vx.setMouseMode(.pixels) catch |e| switch (e) {
|
||||
error.NoSgrPixelsCapability => try self.vx.setMouseMode(.cells),
|
||||
else => return e,
|
||||
};
|
||||
try self.vx.setMouseMode(true);
|
||||
},
|
||||
.cap_kitty_keyboard => {
|
||||
self.logger.print("kitty keyboard capability detected", .{});
|
||||
|
|
Loading…
Add table
Reference in a new issue