aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-09-16 06:05:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-09-16 06:05:56 +0000
commit2593459b55299f74f8e40e2879c250dff1d2e09f (patch)
tree7ed5312ecf9eb6b02947898978c3848d2ee3c751 /doc
parentmeson/pkgbuild: require fcft-2.2.90 (diff)
parentdoc: foot.ini: alternate-scroll-mode: fix highlighting of CSI escape (diff)
Merge branch 'configurable-alternate-scroll-mode' into master
Closes #135
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.ini.5.scd18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index 30c36b51..7467d0b8 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -143,6 +143,24 @@ applications can change these at runtime.
*hide-when-typing*
Boolean. When enabled, the mouse cursor is hidden while typing.
+*alternate-scroll-mode*
+ Boolean. This option controls the initial value for the _alternate
+ scroll mode_. When this mode is enabled, mouse scroll events are
+ translated to _up_/_down_ key events when displaying the alternate
+ screen.
+
+ This lets you scroll with the mouse in e.g. pagers (like _less_)
+ without enabling native mouse support in them.
+
+ Alternate scrolling is *not* used if the application enables
+ native mouse support.
+
+ This option can be modified by applications at run-time using the
+ escape sequences *CSI ? 1007 h* (enable) and *CSI ? 1007 l*
+ (disable).
+
+ Default: _yes_.
+
# SECTION: colors