summaryrefslogtreecommitdiffhomepage
path: root/Role
diff options
context:
space:
mode:
Diffstat (limited to 'Role')
-rw-r--r--Role/Developer.hs10
1 files changed, 6 insertions, 4 deletions
diff --git a/Role/Developer.hs b/Role/Developer.hs
index d3fc11c..6f762a7 100644
--- a/Role/Developer.hs
+++ b/Role/Developer.hs
@@ -51,17 +51,19 @@ run' runner url = do
developer :: TMVar (TVar DeveloperState) -> TMChan (Message Entered) -> TMChan (MissingHashes AnyMessage) -> SessionID -> IO ()
developer dsv ichan ochan sid = withSessionLogger (Just "remote") sid $ \logger -> do
sk <- genMySessionKey
- (controlinput, controloutput) <- openControlWindow
- displayInControlWindow controlinput
- "Using gpg to sign the debug-me session key."
spk <- myPublicKey sk (GpgSign True)
+ (controlinput, controloutput) <- openControlWindow
displayInControlWindow controlinput
"Connecting to the user's session ..."
inRawMode $ do
(devstate, startoutput) <- processSessionStart sk ochan logger dsv
+ displayInControlWindow controlinput
+ "Connected. You can now see what the user is doing."
+ displayInControlWindow controlinput
+ "(But, you can't type anything yet.)"
emitOutput startoutput
displayInControlWindow controlinput
- "Waiting for the user to check your Gnupg key and grant access ..."
+ "Waiting for the user to check your Gnupg key and grant write access ..."
authUser spk ichan ochan devstate logger
>>= go controlinput controloutput logger devstate
where