End the topic divider with a vertical bar

This commit is contained in:
Johannes Findeisen 2026-11-29 07:58:45 +01:00
commit 981a803d6c
2 changed files with 2 additions and 2 deletions

View file

@ -112,7 +112,7 @@ Build yours by copying `irc9rc-example` to `irc9rc` next to the binary (or to
[irc9] irc.example / #general
/----------------------\/--------------------------------------\
|*irc.example | General discussion
| |----------------------------------------
| |---------------------------------------|
| |-#general |
| |-#help(3) |
| \-alice | [10:21] <alice> hello there

2
irc9.c
View file

@ -2592,7 +2592,7 @@ static int layout_topic(int draw)
if (draw && row < height) draw_irc_text(chat_top + row, left, text, width);
free(text);
}
if (draw && divider) draw_pane_divider(chat_top + height, '-', '-');
if (draw && divider) draw_pane_divider(chat_top + height, '-', '|');
return height + divider;
}