cleanup of obsolete comments and dead code
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 35s

This removes the App.Renderer.Buffered, which was not improving on the
direct renderer, which has a simpler implementation and was keept for
this regard.
This commit is contained in:
2024-11-13 19:14:13 +01:00
parent 5908d6d5e3
commit 0cc0ed10d2
6 changed files with 7 additions and 434 deletions

View File

@@ -9,7 +9,7 @@ const isTaggedUnion = @import("../event.zig").isTaggedUnion;
const Error = @import("../event.zig").Error;
const Key = terminal.Key;
const log = std.log.scoped(.layout_marging);
const log = std.log.scoped(.layout_margin);
pub fn Layout(comptime Event: type, comptime Element: type, comptime Renderer: type) type {
if (!isTaggedUnion(Event)) {
@@ -32,7 +32,6 @@ pub fn Layout(comptime Event: type, comptime Element: type, comptime Renderer: t
events: Events = undefined,
config: Config = undefined,
// TODO: marging (for all 4 directions - relative!)
const Config = struct {
margin: ?u8 = undefined,
left: u8 = 0,