diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2021-07-20 00:49:03 +0300 |
---|---|---|
committer | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2021-07-20 01:00:03 +0300 |
commit | 70c9d8d5d704764e35098843d1c9a788ee21beb6 (patch) | |
tree | c8837e55db262cb4e2cd8c31b134cdd9cd5e2821 /DOCS/man/options.rst | |
parent | 1e1b5a6e146ccebd0d9941694064d360422a2795 (diff) | |
download | mpv-70c9d8d5d704764e35098843d1c9a788ee21beb6.tar.bz2 mpv-70c9d8d5d704764e35098843d1c9a788ee21beb6.tar.xz |
stats.lua: page 4 (keys): fix "excluding stats keys" - attempt 2
Page 4 bindings listing wants to exclude the interactive keys of the
stats script itself - so that they don't hide the normal keys which
are bound when stats is not interactive.
It did so by testing that the bound command includes stats/__key
which is how it usually looks when a script binds keys.
However, if a script uses a name for the binding - like stats.lua does
for the interative keys (because it later removes them by name when
interactive mode ends), then the command has stats/name rather than
stats/__key...
To fix this, we change the names of the forced interactive bindings
to start with __forced_, and that's now also what the page-4 listing
excludes.
Diffstat (limited to 'DOCS/man/options.rst')
0 files changed, 0 insertions, 0 deletions