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

make prompt window look like chat/groupchat windows (fixes various bugs, allows history scrolling)

This commit is contained in:
Jfreegman
2014-06-28 18:40:22 -04:00
parent f8998b5891
commit a2e6a25fc8
9 changed files with 53 additions and 193 deletions

View File

@ -196,12 +196,6 @@ void cmd_clear(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv)[M
{
line_info_clear(self->chatwin->hst);
wclear(window);
if (self->is_prompt) {
int y2, x2;
getmaxyx(window, y2, x2);
wmove(self->chatwin->history, y2 - 1, 2);
}
}
void cmd_connect(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv)[MAX_STR_SIZE])