Merge pull request #8 from rockorager/master
vaxis: request kitty keyboard release events from vaxis
This commit is contained in:
commit
045b8c112d
2 changed files with 6 additions and 3 deletions
|
@ -46,9 +46,12 @@ const Event = union(enum) {
|
|||
};
|
||||
|
||||
pub fn init(a: std.mem.Allocator, handler_ctx: *anyopaque, no_alternate: bool) !Self {
|
||||
const opts: vaxis.Vaxis.Options = .{
|
||||
.kitty_keyboard_flags = .{ .report_events = true },
|
||||
};
|
||||
return .{
|
||||
.a = a,
|
||||
.vx = try vaxis.init(a, .{}),
|
||||
.vx = try vaxis.init(a, opts),
|
||||
.no_alternate = no_alternate,
|
||||
.event_buffer = std.ArrayList(u8).init(a),
|
||||
.bracketed_paste_buffer = std.ArrayList(u8).init(a),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue