Skip to content

Lightpanda: the headless browser designed for AI and automation

agent: move up text

Adrià Arrufate6ae13717d02
diff --git a/src/agent/Agent.zig b/src/agent/Agent.zig
index 914810883..f45b89527 100644
--- a/src/agent/Agent.zig
+++ b/src/agent/Agent.zig
@@ -843,8 +843,7 @@ fn printWelcome(llm_active: bool) void {
}
const text = lines[0..n];
- // center the text block against the taller logo (line counts only, no widths)
- const start = (logo_rows - text.len) / 2;
+ const start = (logo_rows - text.len) / 2 -| 1;
std.debug.print("\n", .{});
var row: usize = 0;
var it = std.mem.splitScalar(u8, logo, '\n');