Preserve the editor buffer when rmanager is in "machine on" mode.

git-svn-id: http://voip.null.ro/svn/yate@4143 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2011-03-01 16:51:11 +00:00
parent 233a5f74a1
commit 81d01794ef
1 changed files with 4 additions and 0 deletions

View File

@ -1250,7 +1250,11 @@ void Connection::writeStr(const Message &msg, bool received)
return;
String s = msg.encode(received,"");
s << "\r\n";
if (m_echoing && m_buffer)
clearLine();
writeStr(s.c_str());
if (m_echoing && m_buffer)
writeStr(m_buffer);
}
// write debugging messages to the remote console