diff --git a/src/ncurses_ui.cc b/src/ncurses_ui.cc index ccf4d11ec..49044bf29 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)