mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-22 08:18:08 +02:00
Discard press event for ctrl+shift+release open_url mapping as it can causes issues when delivered to the terminal program
This commit is contained in:
@@ -829,6 +829,9 @@ class Window:
|
||||
def mouse_click_url(self) -> None:
|
||||
click_mouse_url(self.os_window_id, self.tab_id, self.id)
|
||||
|
||||
def mouse_discard_event(self) -> None:
|
||||
pass
|
||||
|
||||
def mouse_click_url_or_select(self) -> None:
|
||||
if not self.screen.has_selection():
|
||||
self.mouse_click_url()
|
||||
|
||||
Reference in New Issue
Block a user