From 0d0186d63712472a037cf510812e68774c73c12f Mon Sep 17 00:00:00 2001 From: Julian Hurst Date: Mon, 17 Mar 2025 16:58:07 +0100 Subject: Add initial support for damage tracking This also fixes a styling issue when the widget styles its own text. --- cmd/list.ha | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd/list.ha') diff --git a/cmd/list.ha b/cmd/list.ha index 1db46b4..348083e 100644 --- a/cmd/list.ha +++ b/cmd/list.ha @@ -15,6 +15,8 @@ export fn main() void = { colorfg = widget::color::REDFG, colorbg = widget::color::REDBG, },"hello", "world", "bye", "world")!; + let l = layout::newvlayout(&li); + defer l.layout.finish(&l); l.layout.print(&l); }; -- cgit v1.2.3