Update powerline-multiline.base.bash

pull/1192/head
madcarrot 2018-05-13 16:35:34 -04:00 committed by GitHub
parent af5c215942
commit 094c846464
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,8 @@ function __powerline_prompt_command {
local info="$(__powerline_${segment}_prompt)" local info="$(__powerline_${segment}_prompt)"
[[ -n "${info}" ]] && __powerline_right_segment "${info}" [[ -n "${info}" ]] && __powerline_right_segment "${info}"
done done
RIGHT_PAD=$(printf "%.s " $(seq 1 $RIGHT_PROMPT_LENGTH))
LEFT_PROMPT+="${RIGHT_PAD}${move_cursor_rightmost}"
LEFT_PROMPT+="\033[${RIGHT_PROMPT_LENGTH}D" LEFT_PROMPT+="\033[${RIGHT_PROMPT_LENGTH}D"
fi fi