feat: display code block in terminal to different color

This commit is contained in:
Lin, Hung-Shin committed 2023-11-27 00:10:41 +08:00
1 parent 8fb8af036d
commit 6cd348433a
3 files changed
+27 -19

No files matched your search

+2 -2
View File
@@ -48,10 +48,10 @@ async function handleCommand(command) {
async function handleResponse({ responses, hints, end }) {
if (responses) {
await printResponses(responses, 120)
await printResponses(responses, 90)
}
if (hints) {
await printHints(hints, 120)
await printHints(hints, 90)
}
if (end) {
console.log(colorize('Quest completed!', 'blue'))