Fix console autocompletion (fixes #451)

This commit is contained in:
def 2016-05-01 20:30:34 +02:00
parent 28571e9cb5
commit 7e7bfcddd2

View file

@ -222,7 +222,7 @@ void CGameConsole::CInstance::OnInput(IInput::CEvent Event)
if(!Handled)
m_Input.ProcessInput(Event);
if(Event.m_Flags&IInput::FLAG_PRESS)
if(Event.m_Flags & (IInput::FLAG_PRESS|IInput::FLAG_TEXT))
{
if((Event.m_Key != KEY_TAB) && (Event.m_Key != KEY_LSHIFT))
{