Prompt: newline at start of string prints the CR symbol
Hello, i have set my prompt function to
fn PROMPT
echo -ne "\n$ "
end
this causes the CR symbol to appear on each generation of prompt
$ echo hello
hello
⏎
$ ls
binary lib main.rs
⏎
$
this is solved if i add a space at the start of the prompt string
fn PROMPT
echo -ne " \n$ "
end
$ echo hello
hello
$ ls
binary lib main.rs
$
the behavior is the same with the prompt function set to
fn PROMPT
echo -n "
$ "
end