From 9b5e837e3c63e1168221a3da60db7f3b71092ed8 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Sun, 29 Nov 2026 18:46:15 +0100 Subject: [PATCH] Restore channel tree top border corners --- irc9.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/irc9.c b/irc9.c index 3ba6c1a..7f61221 100644 --- a/irc9.c +++ b/irc9.c @@ -2429,7 +2429,9 @@ static void draw_tree(void) if (treew < 2 || lines < 6) return; terminal_accent(); terminal_move(1, 0); - terminal_repeat('-', treew); + putchar('/'); + terminal_repeat('-', treew - 2); + putchar('\\'); for (int row = 2; row < bottom; row++) { terminal_move(row, 0); putchar('|');