This commit is contained in:
Dmitry Zuikov 2023-03-24 17:15:26 +03:00
parent eaeaaf1685
commit 2648382ad9
1 changed files with 3 additions and 1 deletions

View File

@ -151,7 +151,7 @@ loop args = do
let cmd = BS.words str
-- trace $ pretty (fmap BS.unpack cmd)
-- hPrint stderr $ show $ pretty (fmap BS.unpack cmd)
hPrint stderr $ show $ pretty (fmap BS.unpack cmd)
--
isBatch <- liftIO $ readTVarIO batch
@ -161,6 +161,8 @@ loop args = do
liftIO $ atomically $ writeTVar batch False
sendEol
when isBatch next
unless isBatch do
updateLocalState ref
["capabilities"] -> do
trace $ "send capabilities" <+> pretty (BS.unpack capabilities)