DFHack / dfhack

Memory hacking library for Dwarf Fortress and a set of tools that use it
Other
1.84k stars 463 forks source link

don't add `die` to the command history #4712

Open myk002 opened 2 weeks ago

myk002 commented 2 weeks ago

so an accidental up-Enter won't exit the game

would have to filter out of both the lineedit-based command history and the gui/launcher history

we can also add a preference in control-panel to control whether die is filtered. probably need to keep the preference state in Core so lineedit can access it