From a2d426abbaf851cb127a9e6534e0801ff5042d8e Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 11 Apr 2016 21:12:27 +0100 Subject: [PATCH] Use padding face on the whole line --- src/ncurses_ui.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ncurses_ui.cc b/src/ncurses_ui.cc index 52b29b0d..eec9f863 100644 --- a/src/ncurses_ui.cc +++ b/src/ncurses_ui.cc @@ -362,7 +362,9 @@ void NCursesUI::draw(const DisplayBuffer& display_buffer, ++line_index; } + wbkgdset(m_window, COLOR_PAIR(get_color_pair(padding_face))); set_face(m_window, padding_face, default_face); + while (line_index < m_dimensions.line + (m_status_on_top ? 1 : 0)) { wmove(m_window, (int)line_index++, 0);