Issue with typing/controls

For whatever reason, after playing TTT for a couple minutes and I go to type something in chat, I can’t delete anything I type without hitting escape and that just closes the chatbox. I click backspace but nothing deletes, and I go to click ~ to open console but that button suddently doesn’t work. No idea what could be causing this as it isn’t a problem with my keyboard because it works fine all the time but in-game.

Try pressing CTRL, ALT, or a similar button. It happens rarely for me in source games, not just GMOD.

Pressing alt worked. Thanks!