Skip to content

Commit

Permalink
Merge pull request #766 from myk002/myk_keybindings
Browse files Browse the repository at this point in the history
[gui/control-panel] expose key suppression preference
  • Loading branch information
myk002 authored Jul 10, 2023
2 parents f86aae9 + 181ac9e commit fafe467
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gui/control-panel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ local PREFERENCES = {
desc='Hide the external DFHack terminal window on startup. Use the "show" command to unhide it.'},
HIDE_ARMOK_TOOLS={label='Hide "armok" tools in command lists', type='bool', default=false,
desc='Don\'t show tools that give you god-like powers wherever DFHack tools are listed.'},
SUPPRESS_DUPLICATE_KEYBOARD_EVENTS={label='Prevent duplicate key events',
type='bool', default=true,
desc='Whether to pass key events through to DF when DFHack keybindings are triggered.'},
},
['gui']={
DEFAULT_INITIAL_PAUSE={label='DFHack tools autopause game', type='bool', default=true,
Expand Down

0 comments on commit fafe467

Please sign in to comment.