summaryrefslogtreecommitdiffhomepage
path: root/Role
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2017-04-22 01:25:54 -0400
committerJoey Hess <joeyh@joeyh.name>2017-04-22 01:27:33 -0400
commitf464f7600a24bb59a882f2a1cb56f8590708ffcf (patch)
tree5a7d974520f811007f462ee016400f43d16160a0 /Role
parent5a48331ca8852c3c9fe500fb66ef7436ae0dc20d (diff)
downloaddebug-me-f464f7600a24bb59a882f2a1cb56f8590708ffcf.tar.gz
minor
Diffstat (limited to 'Role')
-rw-r--r--Role/User.hs3
-rw-r--r--Role/Watcher.hs4
2 files changed, 4 insertions, 3 deletions
diff --git a/Role/User.hs b/Role/User.hs
index ef56a6a..daaaa71 100644
--- a/Role/User.hs
+++ b/Role/User.hs
@@ -36,7 +36,8 @@ run os = do
runClientApp $ clientApp (InitMode mempty) $ \ichan ochan sid -> do
let url = sessionIDUrl sid "localhost" 8081
putStrLn ""
- putStrLn $ "Others can connect to this session by running: debug-me --debug " ++ url
+ putStrLn "Others can connect to this session and help you debug by running:"
+ putStrLn $ " debug-me --debug " ++ url
hFlush stdout
runWithPty cmd cmdparams $ \(p, ph) -> do
uthread <- async (user startmsg p ichan ochan)
diff --git a/Role/Watcher.hs b/Role/Watcher.hs
index 110c1ef..fddd59f 100644
--- a/Role/Watcher.hs
+++ b/Role/Watcher.hs
@@ -9,13 +9,13 @@ import SessionID
import Control.Concurrent.STM
import qualified Data.Text as T
-import Role.Developer (processSessionStart, getUserMessage, Output(..), emitOutput)
+import Role.Developer (processSessionStart, getUserMessage, emitOutput)
run :: WatchOpts -> IO ()
run os = runClientApp $ clientApp (ConnectMode (T.pack (watchUrl os))) watcher
watcher :: TChan (Message Entered) -> TChan (Message Seen) -> SessionID -> IO ()
-watcher _ichan ochan sid = inRawMode $ do
+watcher _ichan ochan _ = inRawMode $ do
st <- processSessionStart ochan nullLogger
go st
where