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:
nicm
2017-11-02 21:29:17 +00:00
parent 17655e5ba6
commit 8d37f699ad
5 changed files with 49 additions and 17 deletions

View File

@ -508,8 +508,7 @@ draw:
/* Copy the window list. */
c->wlmouse = -wloffset + wlstart;
screen_write_cursormove(&ctx, wloffset, 0);
screen_write_copy(&ctx, &window_list, wlstart, 0, wlwidth, 1, NULL,
NULL);
screen_write_fast_copy(&ctx, &window_list, wlstart, 0, wlwidth, 1);
screen_free(&window_list);
screen_write_stop(&ctx);