mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-04 06:32:59 +00:00
debug
This commit is contained in:
1 parent
d2a624afad
commit
d175dc2cff
1 file changed
+2
-2
@@ -388,8 +388,8 @@ printMessage ChatTerminal {termSize = Size {height, width}, nextMessageRow} msg
|
||||
-- because of accounting for control sequences in length
|
||||
putStyled :: MonadTerminal m => StyledString -> m ()
|
||||
putStyled (s1 :<>: s2) = putStyled s1 >> putStyled s2
|
||||
putStyled (Styled [] s) = putString s
|
||||
putStyled (Styled sgr s) = setSGR sgr >> putString s >> resetAttributes
|
||||
putStyled (Styled [] s) = putText (T.pack s)
|
||||
putStyled (Styled sgr s) = setSGR sgr >> putText (T.pack s) >> resetAttributes
|
||||
|
||||
setSGR :: MonadTerminal m => [SGR] -> m ()
|
||||
setSGR = mapM_ $ \case
|
||||
|
||||
Reference in new issue
Block a user