diff options
author | Steve Slaven <bpk@hoopajoo.net> | 2023-01-24 06:09:35 (GMT) |
---|---|---|
committer | Steve Slaven <bpk@hoopajoo.net> | 2023-01-24 06:09:35 (GMT) |
commit | 76f433d408da25e3291c4f4d47f8e60428a3e2e6 (patch) | |
tree | ebbb688a90313a59788d136b868d7f3b77ec228a /src/tty.c | |
parent | 57cc8e95ac7f96ff6eae17b46edc60b01f2d0e0a (diff) | |
download | powwow-76f433d408da25e3291c4f4d47f8e60428a3e2e6.zip powwow-76f433d408da25e3291c4f4d47f8e60428a3e2e6.tar.gz powwow-76f433d408da25e3291c4f4d47f8e60428a3e2e6.tar.bz2 |
add --prove
Diffstat (limited to 'src/tty.c')
-rw-r--r-- | src/tty.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -34,6 +34,7 @@ #include "list.h" #include "tty.h" #include "tcp.h" +#include "prove.h" #ifndef USE_SGTTY # ifdef APOLLO @@ -815,6 +816,13 @@ void input_insert_follow_chars(char *str, int n) void tty_puts(const char *s) { +#ifdef ENABLE_PROVE + if (is_proving()) { + prove_save_tty_output(s); + return; + } +#endif + while (*s) tty_putc(*s++); } |