From f7fb5df54312fb4d7421ba7b25fa00987085ac65 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 23 Oct 2019 07:42:05 +0000 Subject: Use the existing code in format.c to add foramts for word and line at cursor position in copy mode, from Anindya Mukherjee. --- tmux.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 60c515f5..a68c7cbf 100644 --- a/tmux.h +++ b/tmux.h @@ -1787,6 +1787,8 @@ void format_defaults_pane(struct format_tree *, void format_defaults_paste_buffer(struct format_tree *, struct paste_buffer *); void format_lost_client(struct client *); +char *format_grid_word(struct grid *, u_int, u_int); +char *format_grid_line(struct grid *, u_int); /* format-draw.c */ void format_draw(struct screen_write_ctx *, -- cgit