From 4f18e563206806454f0fa9d251115a5c72d5fcad Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 13 Feb 2017 14:02:09 +0000 Subject: [PATCH] Fix non-returning parse_key lambda --- src/ncurses_ui.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ncurses_ui.cc b/src/ncurses_ui.cc index ccf4d11e..49044bf2 100644 --- a/src/ncurses_ui.cc +++ b/src/ncurses_ui.cc @@ -586,6 +586,7 @@ Optional NCursesUI::get_next_key() return Key{utf8::codepoint(getch_iterator{m_window}, getch_iterator{m_window})}; } + return {}; }; if (c == 27)