mirror of
https://github.com/tmux/tmux.git
synced 2026-10-09 03:34:25 +00:00
Comment fix.
This commit is contained in:
@@ -465,6 +465,12 @@ grid_reader_previous_output_range(struct grid_reader *gr, u_int *sx,
|
|||||||
int cleared;
|
int cleared;
|
||||||
|
|
||||||
total = gd->hsize + gd->sy;
|
total = gd->hsize + gd->sy;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Scan from the top because markers arrive in their natural order, C
|
||||||
|
* then D. A backward scan would meet D first and need extra state to
|
||||||
|
* find its C. The last complete output found is the one wanted.
|
||||||
|
*/
|
||||||
for (y = 0; y < total && y <= cursor_y; y++) {
|
for (y = 0; y < total && y <= cursor_y; y++) {
|
||||||
gl = grid_get_line(gd, y);
|
gl = grid_get_line(gd, y);
|
||||||
od = &gl->osc133_data;
|
od = &gl->osc133_data;
|
||||||
|
|||||||
Reference in New Issue
Block a user