mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
New backend flag for needing a terminal.
This commit is contained in:

committed by
Simon Tatham

parent
e2b0e90c8c
commit
ad6987e1b1
@ -393,6 +393,12 @@ int main(int argc, char **argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (vt->flags & BACKEND_NEEDS_TERMINAL) {
|
||||
fprintf(stderr,
|
||||
"Plink must have a terminal to run.\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
sk_init();
|
||||
if (p_WSAEventSelect == NULL) {
|
||||
fprintf(stderr, "Plink requires WinSock 2\n");
|
||||
|
Reference in New Issue
Block a user