1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-05 08:16: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

@ -127,6 +127,7 @@ struct ToxWindow {
bool is_chat;
bool is_groupchat;
bool is_prompt;
bool is_friendlist;
bool alert0;
bool alert1;
@ -191,10 +192,6 @@ struct ChatContext {
WINDOW *history;
WINDOW *linewin;
WINDOW *sidebar;
/* specific for prompt */
bool at_bottom; /* true if line end is at bottom of window */
int orig_y; /* y axis point of line origin */
};
ToxWindow *init_windows(Tox *m);