… | |
… | |
86 | struct line_t { |
86 | struct line_t { |
87 | text_t *t; // terminal the text |
87 | text_t *t; // terminal the text |
88 | rend_t *r; // rendition, uses RS_ flags |
88 | rend_t *r; // rendition, uses RS_ flags |
89 | tlen_t l; // length of each text line, LINE_CONT == continued on next line |
89 | tlen_t l; // length of each text line, LINE_CONT == continued on next line |
90 | |
90 | |
91 | bool is_cont () |
91 | bool is_longer () |
92 | { |
92 | { |
93 | return l < 0; |
93 | return l < 0; |
|
|
94 | } |
|
|
95 | |
|
|
96 | void set_is_longer () |
|
|
97 | { |
|
|
98 | l = LINE_CONT; |
94 | } |
99 | } |
95 | |
100 | |
96 | void clear () |
101 | void clear () |
97 | { |
102 | { |
98 | t = 0; |
103 | t = 0; |