go-termutil icon indicating copy to clipboard operation
go-termutil copied to clipboard

Capture interrupt to allow console to be reset to echo mode

Open proglottis opened this issue 11 years ago • 0 comments

I was having trouble where if you interrupted/ctrl+c while it was prompting for password, the terminal would not be reset to echo mode. So I'm capturing interrupt to stop it.

Ideally this would break out of the password prompt - but I couldn't see an obvious way of doing it.

proglottis avatar Jul 17 '14 23:07 proglottis