mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2025-12-06 20:00:38 +01:00
Merge pull request #81 from contradictioned/fixCompletionCharacterDuplication
Properly escape UTF-8 characters
This commit is contained in:
@@ -473,7 +473,7 @@ prompt_char() {
|
|||||||
prompt_line_sep() {
|
prompt_line_sep() {
|
||||||
if [[ $BULLETTRAIN_PROMPT_SEPARATE_LINE == true ]]; then
|
if [[ $BULLETTRAIN_PROMPT_SEPARATE_LINE == true ]]; then
|
||||||
# newline wont print without a non newline character, so add a zero-width space
|
# newline wont print without a non newline character, so add a zero-width space
|
||||||
echo -e '\n\u200B'
|
echo -e '\n%{\u200B%}'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user