Update changelog

This commit is contained in:
Florian Bruhin 2021-08-17 11:55:58 +02:00
parent e8d9b1772f
commit 5b28fba7cd
2 changed files with 10 additions and 6 deletions

View File

@ -41,6 +41,9 @@ Changed
displaying a download prompt.
- In Greasemonkey scripts, using "overrideMimeType" with GM_xmlhttpRequest is
now supported.
- `:hint --rapid` is now supported for the `tab` hinting target no matter what
`tabs.background` is set to, as there are various scenarios where tabs can
open in the background.
[[v2.3.1]]
v2.3.1 (2021-07-28)

View File

@ -753,12 +753,13 @@ class HintManager(QObject):
if mode_manager.mode == usertypes.KeyMode.hint:
modeman.leave(self._win_id, usertypes.KeyMode.hint, 're-hinting')
if rapid and target in [
Target.tab_fg, # opens new tab
Target.fill, # exits hint mode
Target.right_click, # opens multiple context menus
Target.delete, # deleting elements shifts them
]:
no_rapid_targets = [
Target.tab_fg, # opens new tab
Target.fill, # exits hint mode
Target.right_click, # opens multiple context menus
Target.delete, # deleting elements shifts them
]
if rapid and target in no_rapid_targets:
name = target.name.replace('_', '-')
raise cmdutils.CommandError(
f"Rapid hinting makes no sense with target {name}!")