mod/inspectvar: use $CharacterMultiply

This commit is contained in:
Christian Hesse 2025-05-08 11:07:39 +02:00
parent 1f4290f4be
commit 3521995dbc

View file

@ -33,11 +33,9 @@
:local Value [ :tostr $2 ];
:local Level [ :tonum $3 ];
:local Indent "";
:for I from=1 to=$Level step=1 do={
:set Indent ($Indent . " ");
}
:return ($Indent . "-" . $Prefix . "-> " . $Value);
:global CharacterMultiply;
:return ([ $CharacterMultiply " " $Level ] . "-" . $Prefix . "-> " . $Value);
}
:local TypeOf [ :typeof $Input ];