From 34bf8c23e199149262715492e30f20bfdbca4179 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 19 Apr 2017 21:21:49 +0100 Subject: [PATCH] Fix uninitialised value for cursor mode --- src/ncurses_ui.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ncurses_ui.cc b/src/ncurses_ui.cc index 2e2cb5adf..9313e0764 100644 --- a/src/ncurses_ui.cc +++ b/src/ncurses_ui.cc @@ -249,7 +249,8 @@ NCursesUI::NCursesUI() m_on_key(*key); }}, m_assistant(assistant_clippy), - m_colors{default_colors} + m_colors{default_colors}, + m_cursor{CursorMode::Buffer, {}} { initscr(); raw();