@@ -28,15 +28,15 @@ Examples
28
28
Open the launcher dialog in minimal mode with a blank initial commandline.
29
29
``gui/launcher prospect --show ores,veins ``
30
30
Open the launcher dialog with the edit area pre-populated with the given
31
- command, ready for modification or running. Tools related to `` prospect ``
32
- will appear in the autocomplete list, and help text for `` prospect `` will be
33
- displayed in the lower panel.
31
+ command, ready for modification or running. Tools related to
32
+ ` prospect <prospector> ` will appear in the autocomplete list, and help text
33
+ for `` prospect `` will be displayed in the lower panel.
34
34
35
35
Editing and running commands
36
36
----------------------------
37
37
38
38
Enter the command you want to run by typing its name. If you want to start over,
39
- :kbd: `Ctrl `:kbd: `C ` will clear the line. When you are happy with the command,
39
+ :kbd: `Ctrl `:kbd: `X ` will clear the line. When you are happy with the command,
40
40
hit :kbd: `Enter ` or click on the ``run `` button to run it. Any output from the
41
41
command will appear in the lower panel after you run it. If you want to run the
42
42
command but close the dialog immediately so you can get back to the game, hold
@@ -49,63 +49,72 @@ find it later.
49
49
To pause or unpause the game while `gui/launcher ` is open, hit the spacebar once
50
50
or twice. If you are typing a command, the first space will go into the edit box
51
51
for your commandline. If the commandline is empty or if it already ends in a
52
- space, space key will be passed through to the game to affect the pause button.
52
+ space, the space key will be passed through to the game to affect the pause
53
+ button.
53
54
54
55
If your keyboard layout makes any key impossible to type (such as :kbd: `[ ` and
55
56
:kbd: `] ` on German QWERTZ keyboards), use :kbd: `Ctrl `:kbd: `Shift `:kbd: `K ` to
56
57
bring up the on-screen keyboard. You can "type" the text you need by clicking
57
- on the characters with the mouse.
58
+ on the characters with the mouse and then clicking the ``Enter `` button to
59
+ send the text to the launcher editor.
58
60
59
61
Autocomplete
60
62
------------
61
63
62
64
As you type, autocomplete options for DFHack commands appear in the right
63
- column. If the first word of what you've typed matches a valid command, then the
64
- autocomplete options will also include commands that have similar functionality
65
- to the one that you've named. Click on an autocomplete list option to select it
66
- or cycle through them with :kbd: `Shift `:kbd: `Left ` and :kbd: `Shift `:kbd: `Right `.
67
- You can run a command quickly without parameters by double-clicking on the tool
68
- name in the list. Holding down shift while you double-click allows you to
69
- run the command and close `gui/launcher ` at the same time.
65
+ column. You can restrict which commands are shown in the autocomplete list by
66
+ setting the tag filter with :kbd: `Ctrl `:kbd: `W ` or by clicking on the ``Tags ``
67
+ button. If the first word of what you've typed matches a valid command, then the
68
+ autocomplete options switch to showing commands that have similar functionality
69
+ to the one that you've typed. Click on an autocomplete list option to select it
70
+ or cycle through them with :kbd: `Tab ` and :kbd: `Shift `:kbd: `Tab `. You can run a
71
+ command quickly without parameters by double-clicking on the tool name in the
72
+ list. Holding down shift while you double-click allows you to run the command
73
+ and close `gui/launcher ` at the same time.
70
74
71
75
Context-sensitive help and command output
72
76
-----------------------------------------
73
77
74
78
When you start ``gui/launcher `` without parameters, it shows some useful
75
- information in the lower panel about how to get started with browsing DFHack
76
- tools by their category `tags `.
79
+ information in the lower panel about how to get started with DFHack.
77
80
78
81
Once you have typed (or autocompleted) a word that matches a valid command, the
79
82
lower panel shows the help for that command, including usage instructions and
80
- examples. You can scroll the help text with the mouse or with :kbd: `PgUp ` and
81
- :kbd: `PgDn `. You can also scroll line by line with :kbd: `Shift `:kbd: `Up ` and
83
+ examples. You can scroll the help text with the mouse wheel or with :kbd: `PgUp `
84
+ and :kbd: `PgDn `. You can also scroll line by line with :kbd: `Shift `:kbd: `Up ` and
82
85
:kbd: `Shift `:kbd: `Down `.
83
86
84
87
Once you run a command, the lower panel will switch to command output mode,
85
88
where you can see any text the command printed to the screen. If you want to
86
- see more help text as you run further commands, you can switch the lower panel
87
- back to help mode with :kbd: `Ctrl `:kbd: `T `. The output text is kept for all the
88
- commands you run while the launcher window is open (up to 256KB of text), but
89
- only the most recent 32KB of text is saved if you dismiss the launcher window
90
- and bring it back up. Command output is also printed to the external DFHack
91
- console (the one you can show with `show ` on Windows) or the parent terminal on
92
- Unix-based systems if you need a longer history of the output.
89
+ see more help text as you browse further commands, you can switch the lower
90
+ panel back to help mode with :kbd: `Ctrl `:kbd: `T `. The output text is kept for
91
+ all the commands you run while the launcher window is open (up to 256KB of
92
+ text), but only the most recent 32KB of text is saved if you dismiss the
93
+ launcher window and bring it back up. Command output is also printed to the
94
+ external DFHack console (the one you can show with `show ` on Windows) or the
95
+ parent terminal on Unix-based systems if you need a longer history of the
96
+ output.
93
97
94
98
Command history
95
99
---------------
96
100
97
101
``gui/launcher `` keeps a history of commands you have run to let you quickly run
98
102
those commands again. You can scroll through your command history with the
99
- :kbd: `Up ` and :kbd: `Down ` arrow keys, or you can search your history for
103
+ :kbd: `Up ` and :kbd: `Down ` arrow keys. You can also search your history for
100
104
something specific with the :kbd: `Alt `:kbd: `S ` hotkey. When you hit
101
105
:kbd: `Alt `:kbd: `S `, start typing to search your history for a match. To find the
102
106
next match for what you've already typed, hit :kbd: `Alt `:kbd: `S ` again. You can
103
107
run the matched command immediately with :kbd: `Enter `, or hit :kbd: `Esc ` to edit
104
108
the command before running it.
105
109
106
- Dev mode
107
- --------
110
+ Default tag filters
111
+ -------------------
108
112
109
113
By default, commands intended for developers and modders are filtered out of the
110
- autocomplete list. This includes any tools tagged with ``unavailable ``. You can
111
- toggle this filtering by hitting :kbd: `Alt `:kbd: `D ` at any time.
114
+ autocomplete list. This includes any tools tagged with ``unavailable ``. If you
115
+ have "mortal mode" enabled in the `gui/control-panel ` preferences, any tools
116
+ with the ``armok `` tag are filterd out as well.
117
+
118
+ You can toggle this default filtering by hitting :kbd: `Alt `:kbd: `D ` to switch
119
+ into "Dev mode" at any time. You can also adjust your command filters in the
120
+ ``Tags `` filter list.
0 commit comments