mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user