better terminal printing of chats