mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Make the mode draw function use the parent screen directly rather than
its own to avoid copying twice.
This commit is contained in:
@ -457,7 +457,7 @@ screen_write_vline(struct screen_write_ctx *ctx, u_int ny, int top, int bottom)
|
||||
screen_write_cursormove(ctx, cx, cy + i);
|
||||
screen_write_putc(ctx, &gc, 'x');
|
||||
}
|
||||
screen_write_cursormove(ctx, cx, cy + ny);
|
||||
screen_write_cursormove(ctx, cx, cy + ny - 1);
|
||||
screen_write_putc(ctx, &gc, bottom ? 'v' : 'x');
|
||||
|
||||
screen_write_cursormove(ctx, cx, cy);
|
||||
|
Reference in New Issue
Block a user