aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-07-05 12:40:07 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-07-05 12:43:57 +0200
commit150feac4000d733912561a9d7678169670f64d35 (patch)
treec5657f72e364c1f1afddace2b41f5f9aa40e02cb /mod
parenteda75f0bbc400950d0d98ad7456096deb2a8e755 (diff)
mod/inspectvar: use $PrettyPrint
Diffstat (limited to 'mod')
-rw-r--r--mod/inspectvar4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/inspectvar b/mod/inspectvar
index 2130bb1..2629b6e 100644
--- a/mod/inspectvar
+++ b/mod/inspectvar
@@ -8,10 +8,10 @@
# inspect variable and print on terminal
:set InspectVar do={
- :global CharacterReplace;
:global InspectVarReturn;
+ :global PrettyPrint;
- :put [ $CharacterReplace [ $InspectVarReturn $1 ] ("\n") ("\n\r") ];
+ $PrettyPrint [ $InspectVarReturn $1 ];
}
# inspect variable and return formatted string