sync commands

This commit is contained in:
Evgeny Poberezkin committed 2022-02-04 08:02:48 +00:00
1 parent 7924861810
commit 565bc70843
2 files changed
+14 -14

No files matched your search

+2 -2
View File
@@ -118,8 +118,8 @@ responseToView cmd = \case
api = (highlight cmd :)
r = (plain cmd :)
-- this function should be `r` for "synchronous", `id` for "asynchronous" command responses
-- r' = r
r' = id
-- r' = id
r' = r
viewChatItem :: ChatInfo c -> ChatItem c d -> [StyledString]
viewChatItem chat (ChatItem cd meta content) = case (chat, cd) of