@@ -203,7 +203,7 @@ reserveTerminal termName outFd = do
203 , assumedStateRef = newAssumedStateRef
203 , assumedStateRef = newAssumedStateRef
204 -- I think fix would help assure tActual is the only
204 -- I think fix would help assure tActual is the only
205 -- reference. I was having issues tho.
205 -- reference. I was having issues tho.
206− , mkDisplayContext = \tActual -> terminfoDisplayContext tActual terminfoCaps
206+ , mkDisplayContext = (`terminfoDisplayContext` terminfoCaps)
208 sendCap s = sendCapToTerminal t (s terminfoCaps)
208 sendCap s = sendCapToTerminal t (s terminfoCaps)
209 maybeSendCap s = when (isJust $ s terminfoCaps) . sendCap (fromJust . s)
209 maybeSendCap s = when (isJust $ s terminfoCaps) . sendCap (fromJust . s)