1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-23 20:33:25 +01:00

possibly fix scrolling bug

This commit is contained in:
Jfreegman 2014-04-02 04:59:51 -04:00
parent 24cd6d772f
commit 3b2010200d
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -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) */