2022-07-10 00:01:46 -06:00
|
|
|
command-prompt
|
|
|
|
==============
|
|
|
|
|
2022-08-09 23:37:24 -06:00
|
|
|
.. dfhack-tool::
|
|
|
|
:summary: An in-game DFHack terminal where you can run other commands.
|
2022-08-12 00:34:37 -06:00
|
|
|
:tags: dfhack
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-22 17:42:36 -06:00
|
|
|
Usage::
|
2022-07-10 00:01:46 -06:00
|
|
|
|
2022-07-22 17:42:36 -06:00
|
|
|
command-prompt [entry]
|
|
|
|
|
|
|
|
If called with parameters, it starts with that text in the command edit area.
|
|
|
|
This is most useful for developers, who can set a keybinding to open a laungage
|
|
|
|
interpreter for lua or Ruby by starting with the `:lua <lua>` or `:rb <rb>`
|
|
|
|
portions of the command already filled in.
|
|
|
|
|
|
|
|
Also see `gui/quickcmd` for a different take on running commands from the UI.
|
2022-07-10 00:01:46 -06:00
|
|
|
|
|
|
|
.. image:: ../images/command-prompt.png
|