Only use separator-cursor for the first line number in a wrapped line

This commit is contained in:
hss 2021-03-20 21:53:31 -04:00
parent 73ecd3356f
commit 07e2b03c11

View File

@ -1151,8 +1151,8 @@ private:
const auto atom_face = last_line == current_line ? face_wrapped :
((m_hl_cursor_line and is_cursor_line) ? face_absolute : face);
const auto& separator {is_cursor_line && m_separator_cursor ? *m_separator_cursor
: m_separator};
const auto& separator {is_cursor_line && m_separator_cursor && last_line != current_line
? *m_separator_cursor : m_separator};
line.insert(line.begin(), {buffer, atom_face});
line.insert(line.begin() + 1, {separator, face});