Fix non-returning parse_key lambda

This commit is contained in:
Maxime Coste 2017-02-13 14:02:09 +00:00
parent 5b1229709d
commit 4f18e56320

View File

@ -586,6 +586,7 @@ Optional<Key> NCursesUI::get_next_key()
return Key{utf8::codepoint(getch_iterator{m_window}, return Key{utf8::codepoint(getch_iterator{m_window},
getch_iterator{m_window})}; getch_iterator{m_window})};
} }
return {};
}; };
if (c == 27) if (c == 27)