summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-03-01 09:40:40 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-03-01 09:40:58 +0100
commite868d5d6705e3810e147c54d78c451de2aa91364 (patch)
tree084785e581b0e4bb4dca7bd258721c6ccc276d16
parent15f476b30d7c9e50f2092be076e3df5cf224e3d6 (diff)
downloadqutebrowser-e868d5d6705e3810e147c54d78c451de2aa91364.tar.gz
qutebrowser-e868d5d6705e3810e147c54d78c451de2aa91364.zip
Replace messages with :hint links yank --rapid
-rw-r--r--doc/changelog.asciidoc2
-rw-r--r--qutebrowser/browser/hints.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc
index 22a6d26fb..c23d94a05 100644
--- a/doc/changelog.asciidoc
+++ b/doc/changelog.asciidoc
@@ -46,6 +46,8 @@ Changed
- When PyQtWebEngine >= 5.15.3 is installed via `pip` (as is e.g. the case with
`mkvenv.py`), qutebrowser now queries the associated metadata to find out the
QtWebEngine version.
+- When doing `:hint links yank --rapid`, the messages shown now replace each
+ other, thus being less noisy.
Fixed
~~~~~
diff --git a/qutebrowser/browser/hints.py b/qutebrowser/browser/hints.py
index 84474b6b0..0e71f2373 100644
--- a/qutebrowser/browser/hints.py
+++ b/qutebrowser/browser/hints.py
@@ -270,7 +270,7 @@ class HintActions:
msg = "Yanked URL to {}: {}".format(
"primary selection" if sel else "clipboard",
urlstr)
- message.info(msg)
+ message.info(msg, replace=context.rapid)
def run_cmd(self, url: QUrl, context: HintContext) -> None:
"""Run the command based on a hint URL."""