mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-19 23:30:25 +00:00
nilrider:: save config
This commit is contained in:
parent
121b3f2d58
commit
764afbcd11
@ -377,6 +377,15 @@ void settings() {
|
||||
dialog::add_key_action('r', [] {
|
||||
pushScreen(showSettings);
|
||||
});
|
||||
|
||||
#if CAP_FILES && !ISWEB
|
||||
dialog::addItem("save the current config", 's');
|
||||
dialog::add_action([] {
|
||||
dynamicval<eGeometry> g(geometry, gNormal);
|
||||
saveConfig();
|
||||
});
|
||||
#endif
|
||||
|
||||
dialog::addBreak(100);
|
||||
dialog::addBack();
|
||||
dialog::display();
|
||||
|
Loading…
Reference in New Issue
Block a user