feat: implement remaining terminal handling functions via libvaxis

This commit is contained in:
CJ van den Berg 2024-05-21 21:46:58 +02:00
parent 36f167221e
commit 49ad54d60c
10 changed files with 94 additions and 88 deletions

View file

@ -67,7 +67,7 @@ pub fn walk(self: *Self, walk_ctx: *anyopaque, f: Widget.WalkFn, w: *Widget) boo
pub fn receive(_: *Self, _: tp.pid_ref, m: tp.message) error{Exit}!bool {
var hover: bool = false;
if (try m.match(.{ "H", tp.extract(&hover) })) {
tui.renderer.request_mouse_cursor_default(hover);
tui.current().rdr.request_mouse_cursor_default(hover);
tui.need_render();
return true;
}