mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Fix mouse_hyperlink format in copy mode. From someone in GitHub issue
4418.
This commit is contained in:
@ -884,6 +884,16 @@ window_copy_get_line(struct window_pane *wp, u_int y)
|
||||
return (format_grid_line(gd, gd->hsize + y));
|
||||
}
|
||||
|
||||
char *
|
||||
window_copy_get_hyperlink(struct window_pane *wp, u_int x, u_int y)
|
||||
{
|
||||
struct window_mode_entry *wme = TAILQ_FIRST(&wp->modes);
|
||||
struct window_copy_mode_data *data = wme->data;
|
||||
struct grid *gd = data->screen.grid;
|
||||
|
||||
return (format_grid_hyperlink(gd, x, gd->hsize + y, wp->screen));
|
||||
}
|
||||
|
||||
static void *
|
||||
window_copy_cursor_hyperlink_cb(struct format_tree *ft)
|
||||
{
|
||||
|
Reference in New Issue
Block a user