mirror of
https://github.com/tmux/tmux.git
synced 2026-01-11 16:30:22 +00:00
Comment cleanup.
This commit is contained in:
@@ -1092,7 +1092,7 @@ screen_redraw_get_visible_ranges(struct window_pane *base_wp, u_int px,
|
|||||||
vr.used++;
|
vr.used++;
|
||||||
}
|
}
|
||||||
/* If floating wp completely covers this range
|
/* If floating wp completely covers this range
|
||||||
then delete it (make it 0 length). */
|
* then delete it (make it 0 length). */
|
||||||
else if (lb <= vr.px[r] &&
|
else if (lb <= vr.px[r] &&
|
||||||
rb >= vr.px[r] + vr.nx[r]) {
|
rb >= vr.px[r] + vr.nx[r]) {
|
||||||
vr.nx[r] = 0;
|
vr.nx[r] = 0;
|
||||||
@@ -1177,8 +1177,9 @@ screen_redraw_draw_pane(struct screen_redraw_ctx *ctx, struct window_pane *wp)
|
|||||||
if (vr->nx[r] == 0)
|
if (vr->nx[r] == 0)
|
||||||
continue;
|
continue;
|
||||||
/* i is px of cell, add px of region, sub the
|
/* i is px of cell, add px of region, sub the
|
||||||
pane offset. If you don't sub offset,
|
* pane offset. If you don't sub offset,
|
||||||
contents of pane shifted. note: i apparently unnec. */
|
* contents of pane shifted. note: i apparently unnec.
|
||||||
|
*/
|
||||||
tty_draw_line(tty, s, /* i + */ vr->px[r] - wp->xoff, j,
|
tty_draw_line(tty, s, /* i + */ vr->px[r] - wp->xoff, j,
|
||||||
vr->nx[r], vr->px[r], y, &defaults, palette);
|
vr->nx[r], vr->px[r], y, &defaults, palette);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user