toggleconsole key fix
Ignore key events until the toggleconsole key is released: fixes SDL2 typing a character in the console on console open
UPDATE:
DivVerent found out a simpler working solution:
I therefore suggest using Cbuf_AddText("toggleconsole\n") instead of directly Con_ToggleConsole_f(), together with a comment explaining why
Therefore this merge request should be ignored as divVerent can directly commit his fix without a new merge request.