summaryrefslogtreecommitdiffstats
path: root/mode-tree.c
diff options
context:
space:
mode:
authornicm <nicm>2017-11-02 21:29:17 +0000
committernicm <nicm>2017-11-02 21:29:17 +0000
commit8d37f699ad2406ad96080b0cee211142dbcb33cb (patch)
treea7dae5d870c763361435ddd2d25bdee5c5339783 /mode-tree.c
parent17655e5ba65e37787cd9920e1a89aedf6f623957 (diff)
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.
Diffstat (limited to 'mode-tree.c')
-rw-r--r--mode-tree.c2
1 files changed, 1 insertions, 1 deletions
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);
}