Set flag correctly

Ah, the joys of bit arithmetic…
Print a new line after re-enabling echo