summary refs log tree commit diff
path: root/ingest.c
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 /ingest.c
parentFactor out SGR handling (diff)
downloadstream-b33d011b79b777c0d51a59b13a4229839a6a77dd.tar.gz
stream-b33d011b79b777c0d51a59b13a4229839a6a77dd.zip
Implement termSnapshot
Diffstat (limited to '')
-rw-r--r--ingest.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ingest.c b/ingest.c
index 1dfae36..67328a8 100644
--- a/ingest.c
+++ b/ingest.c
@@ -107,7 +107,11 @@ int main(void) {
 				continue;
 			}
 
-			// TODO: Send snapshot.
+			error = termSnapshot(client);
+			if (error) {
+				close(client);
+				continue;
+			}
 
 			maxClient++;
 			assert(client == maxClient);
bin/gfxx.c?id=28150e1b9b60c73a8eafbb11983a3ecb52c05765&follow=1'>Remove gfxx reverse optionJune McEnroe 2018-02-04Fix gfxx draw stop conditionJune McEnroe 2018-02-04Reuse CGColorSpace and CGDataProvider in gfcocoaJune McEnroe 2018-02-04Mark mac target phonyJune McEnroe 2018-02-04Set up Makefile for gfxx-cocoa or gfxx-fbJune McEnroe 2018-02-04Avoid doing excessive work in gfxxJune McEnroe 2018-02-04Handle window resizing in gfcocoaJune McEnroe 2018-02-04Set cinoptionsJune McEnroe 2018-02-04Tweak colorscheme moreJune McEnroe 2018-02-04Color MatchParen DarkYellowJune McEnroe 2018-02-04Add palette sampling to gfxxJune McEnroe 2018-02-04Add 4-bit RGB to gfxxJune McEnroe 2018-02-04Add Quit menu item to gfcocoaJune McEnroe 2018-02-04Switch back to sane Objective-C styleJune McEnroe 2018-02-04Quit gfcocoa when window closesJune McEnroe 2018-02-03Apparently this is how people write Objective-CJune McEnroe