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:
@ -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);
|
||||
|
Reference in New Issue
Block a user