mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Turn off scrollbar when pane is in alternate screen, from Michael Grant,
GitHub issue 4231.
This commit is contained in:
@ -2204,6 +2204,7 @@ screen_write_alternateon(struct screen_write_ctx *ctx, struct grid_cell *gc,
|
||||
|
||||
screen_write_collect_flush(ctx, 0, __func__);
|
||||
screen_alternate_on(ctx->s, gc, cursor);
|
||||
layout_fix_panes(wp->window, NULL);
|
||||
|
||||
screen_write_initctx(ctx, &ttyctx, 1);
|
||||
if (ttyctx.redraw_cb != NULL)
|
||||
@ -2223,6 +2224,7 @@ screen_write_alternateoff(struct screen_write_ctx *ctx, struct grid_cell *gc,
|
||||
|
||||
screen_write_collect_flush(ctx, 0, __func__);
|
||||
screen_alternate_off(ctx->s, gc, cursor);
|
||||
layout_fix_panes(wp->window, NULL);
|
||||
|
||||
screen_write_initctx(ctx, &ttyctx, 1);
|
||||
if (ttyctx.redraw_cb != NULL)
|
||||
|
Reference in New Issue
Block a user