Fix displaying items in menu
This commit is contained in:
@@ -219,9 +219,9 @@ void Menu<ItemT>::refresh()
|
|||||||
}
|
}
|
||||||
if ((*m_items)[m_drawn_position].isSelected())
|
if ((*m_items)[m_drawn_position].isSelected())
|
||||||
*this << m_selected_prefix;
|
*this << m_selected_prefix;
|
||||||
|
*this << NC::TermManip::ClearToEOL;
|
||||||
if (m_item_displayer)
|
if (m_item_displayer)
|
||||||
m_item_displayer(*this);
|
m_item_displayer(*this);
|
||||||
*this << NC::TermManip::ClearToEOL;
|
|
||||||
if ((*m_items)[m_drawn_position].isSelected())
|
if ((*m_items)[m_drawn_position].isSelected())
|
||||||
*this << m_selected_suffix;
|
*this << m_selected_suffix;
|
||||||
if (m_highlight_enabled && m_drawn_position == m_highlight)
|
if (m_highlight_enabled && m_drawn_position == m_highlight)
|
||||||
|
|||||||
Reference in New Issue
Block a user