Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f987bca commit 5a719f0Copy full SHA for 5a719f0
1 file changed
docs/builtins/keybinding.rst
@@ -33,6 +33,11 @@ The ``<key>`` parameter above has the following **case-sensitive** syntax::
33
where the ``KEY`` part can be any recognized key and :kbd:`[`:kbd:`]` denote
34
optional parts.
35
36
+DFHack commands can advertise the contexts in which they can be usefully run.
37
+For example, a command that acts on a selected unit can tell `keybinding` that
38
+it is not "applicable" in the current context if a unit is not actively
39
+selected.
40
+
41
When multiple commands are bound to the same key combination, DFHack selects
42
the first applicable one. Later ``add`` commands, and earlier entries within one
43
``add`` command have priority. Commands that are not specifically intended for
0 commit comments