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. --- mode-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mode-tree.c') diff --git a/mode-tree.c b/mode-tree.c index 98f29e82..32ae4a33 100644 --- a/mode-tree.c +++ b/mode-tree.c @@ -595,7 +595,7 @@ mode_tree_draw(struct mode_tree_data *mtd) box = mtd->drawcb(mtd->modedata, mti->itemdata, box_x, box_y); if (box != NULL) { screen_write_cursormove(&ctx, 2, h + 1); - screen_write_copy(&ctx, box, 0, 0, box_x, box_y, NULL, NULL); + screen_write_fast_copy(&ctx, box, 0, 0, box_x, box_y); screen_free(box); } -- cgit