mod(style): styling and color revamp now with fewer characters to print to the terminal
This commit is contained in:
@@ -22,8 +22,12 @@ pub fn main() !void {
|
||||
var renderer = zterm.Renderer.Buffered.init(allocator);
|
||||
defer renderer.deinit();
|
||||
|
||||
var container = try App.Container.init(allocator, .{});
|
||||
try container.append(try App.Container.init(allocator, .{}));
|
||||
var container = try App.Container.init(allocator, .{
|
||||
.border = .{ .color = .green, .corners = .rounded },
|
||||
});
|
||||
try container.append(try App.Container.init(allocator, .{
|
||||
.border = .{ .color = .light_green, .corners = .squared },
|
||||
}));
|
||||
defer container.deinit();
|
||||
|
||||
// NOTE: should the min-size here be required?
|
||||
|
||||
Reference in New Issue
Block a user