From 4658c4820fa6c9ae337633aae333074c8d492348 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Mon, 1 Dec 2025 16:46:54 +0100 Subject: [PATCH] refactor: remove unused put_at_pos function --- src/tui/WidgetList.zig | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/tui/WidgetList.zig b/src/tui/WidgetList.zig index b930b8f..ba62123 100644 --- a/src/tui/WidgetList.zig +++ b/src/tui/WidgetList.zig @@ -208,11 +208,6 @@ fn render_decoration_default(self: *Self, theme: *const Widget.Theme, widget_sty widget_style.render_decoration(self.deco_box, self.widget_type, &self.plane, theme); } -inline fn put_at_pos(plane: *Plane, y: usize, x: usize, egc: []const u8) void { - plane.cursor_move_yx(@intCast(y), @intCast(x)) catch return; - plane.putchar(egc); -} - pub fn receive(self: *Self, from_: tp.pid_ref, m: tp.message) error{Exit}!bool { if (try m.match(.{ "H", tp.more })) return false;