Fix uninitialised value for cursor mode

This commit is contained in:
Maxime Coste 2017-04-19 21:21:49 +01:00
parent bee2180da7
commit 34bf8c23e1

View File

@ -249,7 +249,8 @@ NCursesUI::NCursesUI()
m_on_key(*key); m_on_key(*key);
}}, }},
m_assistant(assistant_clippy), m_assistant(assistant_clippy),
m_colors{default_colors} m_colors{default_colors},
m_cursor{CursorMode::Buffer, {}}
{ {
initscr(); initscr();
raw(); raw();