X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/6da411554bfe4c2a8ddfbb0616b0030ea5e813f5..1c63e24602c01c5d7e5587088969d90a25807386:/windows/wincons.c?ds=sidebyside diff --git a/windows/wincons.c b/windows/wincons.c index 03bb4726..347f99f1 100644 --- a/windows/wincons.c +++ b/windows/wincons.c @@ -33,6 +33,14 @@ void cleanup_exit(int code) exit(code); } +void notify_remote_exit(void *frontend) +{ +} + +void timer_change_notify(long next) +{ +} + void verify_ssh_host_key(void *frontend, char *host, int port, char *keytype, char *keystr, char *fingerprint) { @@ -282,6 +290,7 @@ int console_get_line(const char *prompt, char *str, if (console_batch_mode) { if (maxlen > 0) str[0] = '\0'; + return 0; } else { hin = GetStdHandle(STD_INPUT_HANDLE); hout = GetStdHandle(STD_OUTPUT_HANDLE); @@ -312,8 +321,8 @@ int console_get_line(const char *prompt, char *str, if (is_pw) WriteFile(hout, "\r\n", 2, &i, NULL); + return 1; } - return 1; } void frontend_keypress(void *handle)