aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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