diff options
Diffstat (limited to 'cmd/list_strictsz.ha')
| -rw-r--r-- | cmd/list_strictsz.ha | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cmd/list_strictsz.ha b/cmd/list_strictsz.ha index 1a7ea1c..13c2808 100644 --- a/cmd/list_strictsz.ha +++ b/cmd/list_strictsz.ha @@ -11,9 +11,13 @@ export fn main() void = { const out = tui::init()!; defer io::close(out)!; let li = list::newlist(out, (1, 1), tty::ttysize { - rows = 2, - columns = 2, - }, "hello", "world")!; + rows = 3, + columns = 4, + }, &widget::style { + border = true, + colorfg = widget::color::BLUEFG, + colorbg = widget::color::BLUEBG, + }, "hello", "world", "bye", "world")!; let l = layout::newvlayout(&li); l.layout.print(&l); }; |
