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:
parent
73770407e7
commit
bb365062b2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue