summaryrefslogtreecommitdiff
path: root/qutebrowser/qutebrowser.py
diff options
context:
space:
mode:
authorJay Kamat <jaygkamat@gmail.com>2019-03-02 10:12:37 -0800
committerJay Kamat <jaygkamat@gmail.com>2019-03-02 14:35:59 -0800
commit4e2c24b11866b758c9557780a71d75e42bb56670 (patch)
tree95424a9debf0029ba7444c60bfd67056acee569e /qutebrowser/qutebrowser.py
parentb48b79010f3cabc06afafe46fbee2e0684fc13ae (diff)
downloadqutebrowser-4e2c24b11866b758c9557780a71d75e42bb56670.tar.gz
qutebrowser-4e2c24b11866b758c9557780a71d75e42bb56670.zip
Add a debug flag for logging scroll position changes
Diffstat (limited to 'qutebrowser/qutebrowser.py')
-rw-r--r--qutebrowser/qutebrowser.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/qutebrowser/qutebrowser.py b/qutebrowser/qutebrowser.py
index 65b150b3f..b46116ca1 100644
--- a/qutebrowser/qutebrowser.py
+++ b/qutebrowser/qutebrowser.py
@@ -165,9 +165,11 @@ def debug_flag_error(flag):
no-sql-history: Don't store history items.
no-scroll-filtering: Process all scrolling updates.
log-requests: Log all network requests.
+ log-scroll-pos: Log all scrolling changes.
"""
valid_flags = ['debug-exit', 'pdb-postmortem', 'no-sql-history',
- 'no-scroll-filtering', 'log-requests', 'lost-focusproxy']
+ 'no-scroll-filtering', 'log-requests', 'log-scroll-pos',
+ 'lost-focusproxy']
if flag in valid_flags:
return flag