InputHandler: selection first item when entering menu mode

This commit is contained in:
Maxime Coste 2014-01-02 19:19:41 +00:00
parent ad7145dda4
commit 608098cdde

View File

@ -188,6 +188,7 @@ public:
DisplayCoord menu_pos{ context().ui().dimensions().line, 0_char };
context().ui().menu_show(choices, menu_pos, get_color("MenuForeground"),
get_color("MenuBackground"), MenuStyle::Prompt);
context().ui().menu_select(0);
}
void on_key(Key key) override