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

fixed chat window text wrapping

This commit is contained in:
Jfreegman
2013-08-09 00:25:45 -04:00
parent 7501822535
commit e40344186e
2 changed files with 35 additions and 20 deletions

4
main.c
View File

@ -82,7 +82,7 @@ void on_action(int friendnumber, uint8_t *string, uint16_t length)
void on_nickchange(int friendnumber, uint8_t *string, uint16_t length)
{
wprintw(prompt->window, "\n(nickchange) %d: %s!\n", friendnumber, string);
wprintw(prompt->window, "\n(nickchange) %d: %s\n", friendnumber, string);
int i;
for (i = 0; i < MAX_WINDOW_SLOTS; ++i) {
if (windows[i].onNickChange != NULL)
@ -281,7 +281,7 @@ static void draw_bar()
move(LINES - 1, 0);
attron(COLOR_PAIR(4) | A_BOLD);
printw(" TOXIC " TOXICVER " |");
printw(" TOXIC " TOXICVER "|");
attroff(COLOR_PAIR(4) | A_BOLD);
int i;