aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-07-11 23:06:57 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-07-16 13:50:22 +0200
commit8f75d542f3aa7cb3c5726412daa0ab41c6880489 (patch)
tree92dfa1f894e5d98462f7aaf23b30d7c639460ea9 /global-functions.rsc
parent8074305b9250d98e182f5cb968de2c8bd438f7f3 (diff)
global-functions: $PrettyPrint: use :tocrlf
Diffstat (limited to 'global-functions.rsc')
-rw-r--r--global-functions.rsc6
1 files changed, 1 insertions, 5 deletions
diff --git a/global-functions.rsc b/global-functions.rsc
index 312936b..950ccd6 100644
--- a/global-functions.rsc
+++ b/global-functions.rsc
@@ -909,11 +909,7 @@
# print lines with trailing carriage return
:set PrettyPrint do={
- :local Input [ :tostr $1 ];
-
- :global Unix2Dos;
-
- :put [ $Unix2Dos $Input ];
+ :put [ :tocrlf [ :tostr $1 ] ];
}
# strip protocol from from url string