Use padding face on the whole line

This commit is contained in:
Maxime Coste 2016-04-11 21:12:27 +01:00
parent b1b6267137
commit a2d426abba

View File

@ -362,7 +362,9 @@ void NCursesUI::draw(const DisplayBuffer& display_buffer,
++line_index; ++line_index;
} }
wbkgdset(m_window, COLOR_PAIR(get_color_pair(padding_face)));
set_face(m_window, padding_face, default_face); set_face(m_window, padding_face, default_face);
while (line_index < m_dimensions.line + (m_status_on_top ? 1 : 0)) while (line_index < m_dimensions.line + (m_status_on_top ? 1 : 0))
{ {
wmove(m_window, (int)line_index++, 0); wmove(m_window, (int)line_index++, 0);