X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/b51259f6a879f69bec5348bddb604d9b3d499941..d2c2927496535d8d67042980001fadede5e19b99:/unix/uxcons.c?ds=sidebyside diff --git a/unix/uxcons.c b/unix/uxcons.c index 5e3949b3..3c79ad63 100644 --- a/unix/uxcons.c +++ b/unix/uxcons.c @@ -313,3 +313,8 @@ void frontend_keypress(void *handle) */ return; } + +int is_interactive(void) +{ + return isatty(0); +}