IncrementalInserter: move cursor left when finishing

This commit is contained in:
Maxime Coste 2011-11-04 14:15:35 +00:00
parent 2eb008b6ca
commit 0ddb6df80d

View File

@ -426,6 +426,7 @@ IncrementalInserter::IncrementalInserter(Window& window, Mode mode)
IncrementalInserter::~IncrementalInserter()
{
move_cursor(DisplayCoord(0, -1));
assert(m_window.m_current_inserter == this);
m_window.m_current_inserter = nullptr;