Allows to open the command output in pager by mouse click

This commit is contained in:
pagedown
2021-11-17 22:25:49 +08:00
parent 17a48f6b9f
commit b91809eaa4
10 changed files with 98 additions and 38 deletions

View File

@@ -311,6 +311,7 @@ void update_os_window_title(OSWindow *os_window);
void fake_scroll(Window *w, int amount, bool upwards);
Window* window_for_window_id(id_type kitty_window_id);
bool mouse_open_url(Window *w);
bool mouse_set_last_visited_cmd_output(Window *w);
bool mouse_select_cmd_output(Window *w);
bool move_cursor_to_mouse_if_at_shell_prompt(Window *w);
void mouse_selection(Window *w, int code, int button);