fix last line handling in window display buffer
This commit is contained in:
parent
0ce3bc4621
commit
c99a6a3e4c
|
@ -108,7 +108,7 @@ void Window::update_display_buffer()
|
||||||
|
|
||||||
BufferIterator begin = buffer().iterator_at(m_position);
|
BufferIterator begin = buffer().iterator_at(m_position);
|
||||||
BufferIterator end = buffer().iterator_at(m_position +
|
BufferIterator end = buffer().iterator_at(m_position +
|
||||||
BufferCoord(m_dimensions.line, m_dimensions.column))+1;
|
BufferCoord(m_dimensions.line, m_dimensions.column))+2;
|
||||||
if (begin == end)
|
if (begin == end)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user