diff --git a/src/game/client/components/console.cpp b/src/game/client/components/console.cpp index 6b02a0442..3e067ed30 100644 --- a/src/game/client/components/console.cpp +++ b/src/game/client/components/console.cpp @@ -254,6 +254,10 @@ bool CGameConsole::CInstance::OnInput(const IInput::CEvent &Event) { char *pEntry = m_History.Allocate(m_Input.GetLength() + 1); str_copy(pEntry, m_Input.GetString(), m_Input.GetLength() + 1); + // print out the user's commands before they get run + char aBuf[256]; + str_format(aBuf, sizeof(aBuf), "> %s", m_Input.GetString()); + m_pGameConsole->PrintLine(m_Type, aBuf); } } ExecuteLine(m_Input.GetString());