show number of remaining attempts
suppress newline on return key press and clear code