From 608098cddea19bd79940cedd95149f39a36c3f07 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 2 Jan 2014 19:19:41 +0000 Subject: [PATCH] InputHandler: selection first item when entering menu mode --- src/input_handler.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/input_handler.cc b/src/input_handler.cc index 34e30f45..8ed938ec 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -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