@@ -6,37 +6,39 @@ gui/launcher
66 :tags: dfhack
77
88This tool is the primary GUI interface for running DFHack commands. You can open
9- it from any screen with the \` hotkey. If you opened it by mistake, tap \` again
10- to close.
9+ it from any screen with the \` hotkey. Tap \` again (or hit :kbd: ` Esc `) to
10+ close.
1111
12- Usage::
12+ Usage
13+ -----
14+
15+ ::
1316
1417 gui/launcher [initial commandline]
1518
1619Examples
1720--------
1821
19- - ``gui/launcher ``
20- Opens the launcher dialog with the default help message .
21- - ``gui/launcher prospect --show ores,veins ``
22- Opens the launcher dialog with the given command visible in the edit area,
23- ready for modification or running. Commands related to the ``prospect ``
24- command will appear in the autocomplete list, and help text for the
25- `` prospect `` command will be displayed in the help area.
22+ ``gui/launcher ``
23+ Open the launcher dialog with a blank initial commandline .
24+ ``gui/launcher prospect --show ores,veins ``
25+ Open the launcher dialog with the edit area pre-populated with the given
26+ command, ready for modification or running. Tools related to ``prospect ``
27+ will appear in the autocomplete list, and help text for `` prospect `` will be
28+ displayed in the help area.
2629
2730Editing and running commands
2831----------------------------
2932
3033Enter the command you want to run by typing its name. If you want to start over,
3134:kbd: `Ctrl `:kbd: `C ` will clear the line. When you are happy with the command,
3235hit :kbd: `Enter ` or click on the ``run `` button to run it. Any output from the
33- command will appear in the help area. If you want to run the command and close
34- the dialog so you can get back to the game, use :kbd: `Shift `:kbd: `Enter ` or hold
35- down the :kbd: `Shift ` key and click on the ``run `` button instead. The dialog
36- also closes automatically if you run a command that brings up a new GUI screen.
37- In either case, if the launcher window doesn't come back up to show the command
38- output, then the command output (if any) will appear in the DFHack terminal
39- console.
36+ command will appear in the help area. If you want to run the command but close
37+ the dialog immediately so you can get back to the game, use
38+ :kbd: `Shift `:kbd: `Enter ` or hold down the :kbd: `Shift ` key and click on the
39+ ``run `` button instead. The dialog also closes automatically if you run a
40+ command that brings up a new GUI screen. In any case, the command output will
41+ also be written to the DFHack terminal console.
4042
4143Autocomplete
4244------------
@@ -67,7 +69,7 @@ Command history
6769``gui/launcher `` keeps a history of commands you have run to let you quickly run
6870those commands again. You can scroll through your command history with the
6971:kbd: `Up ` and :kbd: `Down ` cursor keys, or you can search your history for
70- something specific with the :kbd: `Alt `:kbd: `S ` hotkey. After you hit
72+ something specific with the :kbd: `Alt `:kbd: `S ` hotkey. When you hit
7173:kbd: `Alt `:kbd: `S `, start typing to search your history for a match. To find the
7274next match for what you've already typed, hit :kbd: `Alt `:kbd: `S ` again. You can
7375run the matched command immediately with :kbd: `Enter ` (or
0 commit comments