mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 22:03:27 +01:00
possibly fix scrolling bug
This commit is contained in:
parent
24cd6d772f
commit
3b2010200d
@ -41,7 +41,7 @@ struct line_info {
|
||||
uint8_t bold;
|
||||
uint8_t colour;
|
||||
uint32_t id;
|
||||
int len; /* combined len of all strings */
|
||||
uint16_t len; /* combined len of all strings */
|
||||
|
||||
struct line_info *prev;
|
||||
struct line_info *next;
|
||||
@ -57,8 +57,8 @@ struct history {
|
||||
bool scroll_mode;
|
||||
|
||||
/* keeps track of lines added between window refreshes */
|
||||
uint8_t queue;
|
||||
uint8_t queue_lns;
|
||||
uint32_t queue;
|
||||
uint32_t queue_lns;
|
||||
};
|
||||
|
||||
/* adds a line to history (also moves line_start and/or line_root forward if necessary) */
|
||||
|
Loading…
Reference in New Issue
Block a user