mirror of
https://github.com/tmux/tmux.git
synced 2026-06-22 06:37:00 +00:00
Use correct size when calculating status line right trim. GitHub issue
5098 from Aung Myo Kyaw.
This commit is contained in:
@@ -713,7 +713,7 @@ screen_redraw_draw_pane_status(struct screen_redraw_ctx *ctx)
|
|||||||
/* Right not visible. */
|
/* Right not visible. */
|
||||||
l = 0;
|
l = 0;
|
||||||
x = xoff - ctx->ox;
|
x = xoff - ctx->ox;
|
||||||
width = size - x;
|
width = ctx->sx - x;
|
||||||
}
|
}
|
||||||
|
|
||||||
r = tty_check_overlay_range(tty, x, yoff, width);
|
r = tty_check_overlay_range(tty, x, yoff, width);
|
||||||
|
|||||||
Reference in New Issue
Block a user