remove race in terminal

This commit is contained in:
Evgeny @ SimpleX Chat committed 2026-09-13 12:09:43 +00:00
1 parent 1e2f0bec79
commit 8256e1e2af
1 file changed
+1 -1
+1 -1
View File
@@ -154,7 +154,7 @@ sendUpdatedLiveMessage cc sentMsg LiveMessage {chatName, chatItemId} live = do
runTerminalInput :: ChatTerminal -> ChatController -> IO ()
runTerminalInput ct cc = withChatTerm ct $ do
updateInput ct
withTermLock ct $ updateInput ct
receiveFromTTY cc ct
receiveFromTTY :: forall m. MonadTerminal m => ChatController -> ChatTerminal -> m ()