"Forbid" keymap_sole to close the console.

Close console only by submitting message/command.