Key ^O provides handy cycling of output and debug modes in rmanager.
git-svn-id: http://voip.null.ro/svn/yate@2826 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
58ea5179a6
commit
e03add590b
|
@ -471,6 +471,19 @@ bool Connection::processChar(unsigned char c)
|
|||
m_escmode = 0;
|
||||
m_echoing = !m_echoing;
|
||||
return false;
|
||||
case 0x0F: // ^O
|
||||
m_escmode = 0;
|
||||
// cycle [no output] -> [output] -> [debug (only if auth)]
|
||||
if (m_debug)
|
||||
m_output = m_debug = false;
|
||||
else if (m_output) {
|
||||
m_output = false;
|
||||
if ((m_debug = m_auth))
|
||||
Debugger::enableOutput(true);
|
||||
}
|
||||
else
|
||||
m_output = true;
|
||||
return false;
|
||||
case 0x0C: // ^L
|
||||
if (!m_echoing)
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue