diff --git a/rogueviz/nilrider/nilrider.cpp b/rogueviz/nilrider/nilrider.cpp index 779fb619..3c76e4a8 100644 --- a/rogueviz/nilrider/nilrider.cpp +++ b/rogueviz/nilrider/nilrider.cpp @@ -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 g(geometry, gNormal); + saveConfig(); + }); + #endif + dialog::addBreak(100); dialog::addBack(); dialog::display();