1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Fix Plink-doesn't-support-SUPDUP messages.

It's the backend that needs terminal emulation, not Plink.
This commit is contained in:
Jacob Nevins 2021-02-21 16:05:12 +00:00
parent 0ec45782b5
commit 9492c9dd8d
2 changed files with 4 additions and 2 deletions

View File

@ -825,7 +825,8 @@ int main(int argc, char **argv)
if (backvt->flags & BACKEND_NEEDS_TERMINAL) {
fprintf(stderr,
"Plink must have a terminal to run.\n");
"Plink doesn't support %s, which needs terminal emulation\n",
backvt->displayname);
return 1;
}

View File

@ -398,7 +398,8 @@ int main(int argc, char **argv)
if (vt->flags & BACKEND_NEEDS_TERMINAL) {
fprintf(stderr,
"Plink must have a terminal to run.\n");
"Plink doesn't support %s, which needs terminal emulation\n",
vt->displayname);
return 1;
}