1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-25 23:02:09 -05:00
putty-source/otherbackends
Simon Tatham 8e35e6eeae Rlogin: handle user abort at the username prompt.
While re-testing this backend I realised that we were completely
ignoring the actual return status from seat_get_userpass_input, once
it stops being -1 ("prompt still in progress"). So if the user hits ^C
or ^D at the prompt, e.g. after realising they've started PuTTY in the
wrong mode by mistake, then we press ahead anyway and send a nonsense
username.

Now we interpret that as a request to close the connection.
2021-09-14 08:49:08 +01:00
..