summary refs log tree commit diff
path: root/stream.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-08-01 16:46:54 -0400
committerJune McEnroe <june@causal.agency>2019-08-01 16:46:54 -0400
commitb33d011b79b777c0d51a59b13a4229839a6a77dd (patch)
tree9b8789e53288fbbb9ddddc3188360a06e381c1ed /stream.h
parentFactor out SGR handling (diff)
downloadstream-b33d011b79b777c0d51a59b13a4229839a6a77dd.tar.gz
stream-b33d011b79b777c0d51a59b13a4229839a6a77dd.zip
Implement termSnapshot
Diffstat (limited to '')
-rw-r--r--stream.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/stream.h b/stream.h
index d03d30d..56889c2 100644
--- a/stream.h
+++ b/stream.h
@@ -14,7 +14,10 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <wchar.h>
+
 typedef unsigned uint;
 
 void termInit(uint rows, uint cols);
 void termUpdate(wchar_t ch);
+int termSnapshot(int fd);