mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Add a "fast" version of screen_write_copy for tree mode that doesn't do
all the checks and selection and marking stuff needed for copy mode.
This commit is contained in:
@ -235,9 +235,9 @@ window_client_draw(__unused void *modedata, void *itemdata, u_int sx, u_int sy)
|
||||
|
||||
screen_write_cursormove(&ctx, 0, sy - 1);
|
||||
if (c->old_status != NULL)
|
||||
screen_write_copy(&ctx, c->old_status, 0, 0, sx, 1, NULL, NULL);
|
||||
screen_write_fast_copy(&ctx, c->old_status, 0, 0, sx, 1);
|
||||
else
|
||||
screen_write_copy(&ctx, &c->status, 0, 0, sx, 1, NULL, NULL);
|
||||
screen_write_fast_copy(&ctx, &c->status, 0, 0, sx, 1);
|
||||
|
||||
screen_write_stop(&ctx);
|
||||
return (&s);
|
||||
|
Reference in New Issue
Block a user