mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-11 12:47:39 +00:00
Consistently use "space" for the "pop this menu" option in all submenus.
The "pop this menu" option's *text* is still highly variable among all the different menus, which could make it hard to navigate, but at least if you're using the keyboard it's now easy to "go back". Plus, the rogueviz menu incorrectly reported "(v) exit menu" when actually `v` was already in use by an earlier option. This is now fixed.
This commit is contained in:
2
tour.cpp
2
tour.cpp
@@ -249,7 +249,7 @@ namespace ss {
|
||||
}
|
||||
dialog::addBreak(50);
|
||||
if(size(slideshows) > 1) dialog::addItem(XLAT("change slideshow"), '1');
|
||||
dialog::addItem(XLAT("exit menu"), '0');
|
||||
dialog::addItem(XLAT("exit menu"), ' ');
|
||||
dialog::display();
|
||||
keyhandler = [] (int sym, int uni) {
|
||||
if(uni >= 'a' && uni < 'a' + sssize) {
|
||||
|
Reference in New Issue
Block a user