Fixed cursor position after debug information writes or machine mode.

git-svn-id: http://yate.null.ro/svn/yate/trunk@4947 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2012-02-24 19:13:35 +00:00
parent 73770407e7
commit bb365062b2
1 changed files with 2 additions and 2 deletions

View File

@ -1520,7 +1520,7 @@ void Connection::writeStr(const Message &msg, bool received)
clearLine();
writeStr(s.c_str());
if (m_echoing && m_buffer)
writeStr(m_buffer);
writeBuffer();
}
// write debugging messages to the remote console
@ -1552,7 +1552,7 @@ void Connection::writeEvent(const char *str, int level)
if (col)
writeStr(col,::strlen(col));
if (m_echoing && m_buffer)
writeStr(m_buffer);
writeBuffer();
}
// write arbitrary string to the remote console