X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/b51259f6a879f69bec5348bddb604d9b3d499941..a5dd84675905dfc4274cf45424e6f3a9e385e1a7:/unix/uxcons.c 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); +}