X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/de9aaffb82ed90ab2adfd7c869bbb76681a95ef3..ab2c86b9e339e4c0a7d824b1f7ec4efcce985d79:/ldisc.c diff --git a/ldisc.c b/ldisc.c index ceafa416..a149c6d0 100644 --- a/ldisc.c +++ b/ldisc.c @@ -74,6 +74,12 @@ void ldisc_send(char *buf, int len, int interactive) return; } /* + * Notify the front end that something was pressed, in case + * it's depending on finding out (e.g. keypress termination for + * Close On Exit). + */ + frontend_keypress(); + /* * Less than zero means null terminated special string. */ if (len < 0) {