Hide the mouse cursor when typing and show it again when the mouse moves

commits