Add default choices for features that use ask kitten

This commit is contained in:
pagedown
2022-01-22 03:21:59 +08:00
parent 9a119255fe
commit 88ee5e95fc
3 changed files with 4 additions and 2 deletions

View File

@@ -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),