From 8d37f699ad2406ad96080b0cee211142dbcb33cb Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 2 Nov 2017 21:29:17 +0000 Subject: 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. --- window-client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'window-client.c') diff --git a/window-client.c b/window-client.c index 4b57aa23..fc5b55e7 100644 --- a/window-client.c +++ b/window-client.c @@ -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); -- cgit v1.2.3