1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 11:06:46 +02:00

made borders-lines crisp

This commit is contained in:
Jfreegman
2013-11-23 23:46:46 -05:00
parent 319eec21fe
commit 1064e8d144
4 changed files with 13 additions and 12 deletions

View File

@ -127,7 +127,7 @@ static void prompt_onDraw(ToxWindow *self, Tox *m)
StatusBar *statusbar = (StatusBar *) self->stb;
werase(statusbar->topline);
mvwhline(statusbar->topline, 1, 0, '-', x2);
mvwhline(statusbar->topline, 1, 0, ACS_HLINE, x2);
wmove(statusbar->topline, 0, 0);
if (statusbar->is_online) {
@ -163,7 +163,7 @@ static void prompt_onDraw(ToxWindow *self, Tox *m)
}
wattron(statusbar->topline, A_BOLD);
wprintw(statusbar->topline, " | %s |", statusbar->statusmsg);
wprintw(statusbar->topline, " - %s", statusbar->statusmsg);
wattroff(statusbar->topline, A_BOLD);
wprintw(statusbar->topline, "\n");