mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
feat: print hints
This commit is contained in:
1 parent
a151d2d667
commit
0ba823b432
1 file changed
+5
@@ -120,6 +120,11 @@ async function main() {
|
||||
if (data.responses) {
|
||||
await printResponses(data.responses, 60)
|
||||
}
|
||||
if (data.hints) {
|
||||
for (const hint of data.hints) {
|
||||
console.log(colorize(hint, 'yellow'))
|
||||
}
|
||||
}
|
||||
if (data.end) {
|
||||
console.log(colorize('Quest completed!', 'blue'))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user