aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev/eval.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/dev/eval.ts')
-rw-r--r--src/commands/dev/eval.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/commands/dev/eval.ts b/src/commands/dev/eval.ts
index 0f53198..d4c9331 100644
--- a/src/commands/dev/eval.ts
+++ b/src/commands/dev/eval.ts
@@ -263,11 +263,12 @@ export default class EvalCommand extends BushCommand {
if (inputTS) embed.addFields([{ name: ':inbox_tray: Input (typescript)', value: inputTS }]);
embed.addFields([{ name: `:inbox_tray: Input${inputTS ? ' (transpiled javascript)' : ''}`, value: inputJS }]);
- const output = await this.codeblock(rawResult, 'js', {
+ const output = await this.codeblock(rawResult, 'ansi', {
depth: selDepth ?? 0,
showHidden: hidden,
showProxy: true,
- inspectStrings: !noInspectStrings
+ inspectStrings: !noInspectStrings,
+ colors: true
});
const methods = !err && showMethods ? await this.codeblock(rawResult, 'ts', { methods: true }) : undefined;