core: implement OSC 12 and OSC 112 to query/set/reset cursor color

This commit is contained in:
Gregory Anders
2023-11-09 16:10:43 -06:00
parent 33753f59c8
commit 171292a063
7 changed files with 93 additions and 10 deletions

View File

@@ -270,6 +270,10 @@ fn drainMailbox(self: *Thread) !void {
self.renderer.background_color = color;
},
.cursor_color => |color| {
self.renderer.cursor_color = color;
},
.resize => |v| {
try self.renderer.setScreenSize(v.screen_size, v.padding);
},