mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-07 08:16:34 +01:00
refactor chat window input code, misc fixes
This commit is contained in:
@@ -166,9 +166,9 @@ struct infobox {
|
||||
/* chat and groupchat window/buffer holder */
|
||||
struct ChatContext {
|
||||
wchar_t line[MAX_STR_SIZE];
|
||||
size_t pos;
|
||||
size_t len;
|
||||
size_t start; /* the position to start printing line at */
|
||||
int pos;
|
||||
int len;
|
||||
int start; /* the position to start printing line at */
|
||||
|
||||
wchar_t ln_history[MAX_LINE_HIST][MAX_STR_SIZE]; /* history for input lines/commands */
|
||||
int hst_pos;
|
||||
|
||||
Reference in New Issue
Block a user