summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiran Tal <liran.tal@gmail.com>2023-02-02 19:48:48 +0100
committerGitHub <noreply@github.com>2023-02-02 20:48:48 +0200
commit5bf974155bc20e275b92302312b1f99d21502cc0 (patch)
treec583f801cd0106b1ac562ef29f7508cd9a4e1b8e
parent7fa29b72abcc6c4de37e0b6fc1f5c181f849980e (diff)
feat: apply full-depth object information printing + colorize output (#223)
-rw-r--r--src/widgetsTemplates/info.widget.template.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgetsTemplates/info.widget.template.js b/src/widgetsTemplates/info.widget.template.js
index 2493251..89516d4 100644
--- a/src/widgetsTemplates/info.widget.template.js
+++ b/src/widgetsTemplates/info.widget.template.js
@@ -50,7 +50,7 @@ class myWidget extends baseWidget() {
// then show the information on the item
this.getItemById(itemId, (err, data) => {
if (!err) {
- this.update(util.inspect(data))
+ this.update(util.inspect(data, { depth: null, colors: true }))
this.screen.render()
}
})