1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-09 23:33:46 -05:00

Remove FLAG_INTERACTIVE.

This is simpler than FLAG_VERBOSE: everywhere we need to check it, we
have a Seat available, so we can just make it a Seat query method.
This commit is contained in:
Simon Tatham
2020-01-30 06:40:21 +00:00
parent d20d3b20fd
commit dc59fcf8e3
14 changed files with 39 additions and 24 deletions

View File

@ -65,6 +65,7 @@ static const SeatVtable psftp_seat_vt = {
console_stripctrl_new,
nullseat_set_trust_status_vacuously,
cmdline_seat_verbose,
nullseat_interactive_yes,
};
static Seat psftp_seat[1] = {{ &psftp_seat_vt }};
@ -2768,7 +2769,7 @@ int psftp_main(int argc, char *argv[])
bool sanitise_stderr = true;
char *batchfile = NULL;
flags = FLAG_INTERACTIVE
flags = 0
#ifdef FLAG_SYNCAGENT
| FLAG_SYNCAGENT
#endif