aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ksh/kshrc.d/prompt.ksh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksh/kshrc.d/prompt.ksh b/ksh/kshrc.d/prompt.ksh
index 3f526526..1d4db926 100644
--- a/ksh/kshrc.d/prompt.ksh
+++ b/ksh/kshrc.d/prompt.ksh
@@ -80,7 +80,7 @@ function prompt {
} >/dev/null 2>&1
# Play ball with ksh's way of escaping non-printing characters
- typeset es nl
+ typeset es cr
es=$(printf '\01')
cr=$(printf '\r')