do not add command to console history if it starts with a space