On 04/03/2022 13:11, Phillip Wood wrote: > From: Phillip Wood <phillip.wood@xxxxxxxxxxxxx> > [snip] > diff --git a/compat/terminal.h b/compat/terminal.h > index f24b91390d..f5655d0d0b 100644 > --- a/compat/terminal.h > +++ b/compat/terminal.h > @@ -3,7 +3,8 @@ > > /* Save input and output settings */ > #define SAVE_TERM_DUPLEX (1u << 0) > - > +/* Save stdin rather than /dev/tty (fails is stdin is not a terminal) */ s/fails is/fails if/ ? ATB, Ramsay Jones > +#define SAVE_TERM_STDIN (1u << 1) > /* > * Save the terminal attributes so they can be restored later by a > * call to restore_term(). Note that every successful call to