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

partially fix bug where input line eats prompt messages

This commit is contained in:
Jfreegman
2013-12-06 05:07:35 -05:00
parent 18a7bbea3d
commit ce45580c83
7 changed files with 53 additions and 10 deletions

View File

@ -117,8 +117,9 @@ struct PromptBuf {
wchar_t line[MAX_STR_SIZE];
size_t pos;
size_t len;
int orig_y; /* y axis point of origin for line */
bool scroll; /* used for prompt window hack to determine when to scroll down */
bool at_bottom; /* true if line end is at bottom of window */
int orig_y; /* y axis point of line origin */
bool scroll; /* used for prompt window hack to determine when to scroll down */
WINDOW *linewin;
};