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)