From 0a6c09b96f17fa0247d3fe53ff396f61e5868d0c Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 21 Nov 2019 22:22:45 +0100 Subject: input: introduce a pseudo key name that grabs all text input The intended target for this is the mpv.repl script, which manually added every single ASCII key as a separate key binding. This provides a simpler mechanism, that will catch any kind of text input. Due to its special nature, explicitly do not give a guarantee for compatibility; thus the warning in input.rst. --- DOCS/man/input.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'DOCS') diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index eb1e7791bc..81126efd43 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -152,6 +152,11 @@ Comments on some symbolic names: Pseudo-key that matches any unmapped key. (You should probably avoid this if possible, because it might change behavior or get removed in the future.) +``ANY_UNICODE`` + Pseudo-key that matches any key that produces text. (You should probably + avoid this if possible, because it might change behavior or get removed in + the future.) + Flat command syntax ------------------- -- cgit v1.2.3