mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-09 05:35:19 +02:00
Add default choices for features that use ask kitten
This commit is contained in:
@@ -653,6 +653,7 @@ class Window:
|
||||
'What would you like to do with this URL:\n') +
|
||||
styled(unquote(url), fg='yellow'),
|
||||
'--choice=o:Open', '--choice=c:Copy to clipboard', '--choice=n;red:Nothing'
|
||||
'--default=o'
|
||||
],
|
||||
window=self,
|
||||
custom_callback=partial(self.hyperlink_open_confirmed, url, cwd),
|
||||
|
||||
Reference in New Issue
Block a user