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

2
tmux.h
View File

@ -2037,6 +2037,8 @@ void screen_write_putc(struct screen_write_ctx *, const struct grid_cell *,
u_char);
void screen_write_copy(struct screen_write_ctx *, struct screen *, u_int,
u_int, u_int, u_int, bitstr_t *, const struct grid_cell *);
void screen_write_fast_copy(struct screen_write_ctx *, struct screen *,
u_int, u_int, u_int, u_int);
void screen_write_hline(struct screen_write_ctx *, u_int, int, int);
void screen_write_vline(struct screen_write_ctx *, u_int, int, int);
void screen_write_box(struct screen_write_ctx *, u_int, u_int);