From 7987157bfd99b8e2ec78f5030a49c2e16bf08321 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 22 Apr 2017 13:00:04 -0400 Subject: it works Multi-user client-server debug-me is working, almost perfectly. All that was missing was replaying the log when the developer connected. A number of race conditions had to be avoided to do that sanely. This commit was sponsored by Ignacio on Patreon. --- Role/Developer.hs | 2 -- 1 file changed, 2 deletions(-) (limited to 'Role') diff --git a/Role/Developer.hs b/Role/Developer.hs index 90f7606..89f6ea9 100644 --- a/Role/Developer.hs +++ b/Role/Developer.hs @@ -47,9 +47,7 @@ sendTtyInput :: TChan (Message Entered) -> TVar DeveloperState -> Logger -> IO ( sendTtyInput ichan devstate logger = go where go = do - print "in sendTtyInput" b <- B.hGetSome stdin 1024 - print "sending from dev" if b == B.empty then return () else send b -- cgit v1.2.3