Remove spacing after the server connection marker
This commit is contained in:
parent
6ed9931044
commit
5f2f1d8e0c
2 changed files with 5 additions and 5 deletions
6
irc9.c
6
irc9.c
|
|
@ -2445,11 +2445,11 @@ static void draw_tree(void)
|
|||
for (Server *s = servers; s; s = s->next) {
|
||||
if (y >= bottom - 1) break;
|
||||
int selected = (serverwin(s) == curwin);
|
||||
if (treew > 4) {
|
||||
if (treew > 3) {
|
||||
terminal_move(y, 1);
|
||||
fputs(selected ? (terminal_color ? "\033[1;4m" : "\033[7m") : "\033[1m", stdout);
|
||||
printf("%c ", s->connected ? '*' : ' ');
|
||||
terminal_text(s->name ? s->name : s->host, treew - 4);
|
||||
putchar(s->connected ? '*' : ' ');
|
||||
terminal_text(s->name ? s->name : s->host, treew - 3);
|
||||
fputs("\033[0m", stdout);
|
||||
}
|
||||
y++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue