diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-01-02 19:19:41 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-01-02 19:19:41 +0000 |
| commit | 608098cddea19bd79940cedd95149f39a36c3f07 (patch) | |
| tree | 2a9d87c8bdbb4bfd3cc6db10a7752d40ff48b71f /src/input_handler.cc | |
| parent | ad7145dda445c26ad5b0d01a78f05700126dbd98 (diff) | |
InputHandler: selection first item when entering menu mode
Diffstat (limited to 'src/input_handler.cc')
| -rw-r--r-- | src/input_handler.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
