Restore channel tree top border corners
This commit is contained in:
parent
a7279840f0
commit
9b5e837e3c
1 changed files with 3 additions and 1 deletions
4
irc9.c
4
irc9.c
|
|
@ -2429,7 +2429,9 @@ static void draw_tree(void)
|
||||||
if (treew < 2 || lines < 6) return;
|
if (treew < 2 || lines < 6) return;
|
||||||
terminal_accent();
|
terminal_accent();
|
||||||
terminal_move(1, 0);
|
terminal_move(1, 0);
|
||||||
terminal_repeat('-', treew);
|
putchar('/');
|
||||||
|
terminal_repeat('-', treew - 2);
|
||||||
|
putchar('\\');
|
||||||
for (int row = 2; row < bottom; row++) {
|
for (int row = 2; row < bottom; row++) {
|
||||||
terminal_move(row, 0);
|
terminal_move(row, 0);
|
||||||
putchar('|');
|
putchar('|');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue