build: fix gui build

This commit is contained in:
CJ van den Berg 2026-01-22 16:47:53 +01:00
parent 3995946471
commit 07f1446616
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -372,6 +372,12 @@ pub fn process_renderer_event(self: *Self, msg: []const u8) Error!void {
return error.UnexpectedRendererEvent; return error.UnexpectedRendererEvent;
} }
pub fn set_sgr_pixel_mode_support(self: *Self, enable_sgr_pixel_mode_support: bool) void {
_ = self;
_ = enable_sgr_pixel_mode_support;
// this is a no-op for GUI renderers
}
pub fn set_terminal_title(self: *Self, text: []const u8) void { pub fn set_terminal_title(self: *Self, text: []const u8) void {
self.title_buf.clearRetainingCapacity(); self.title_buf.clearRetainingCapacity();
std.unicode.utf8ToUtf16LeArrayList(&self.title_buf, text) catch { std.unicode.utf8ToUtf16LeArrayList(&self.title_buf, text) catch {