Add multiline support to chat.