Added configurable padding value to Powerline-Multiline theme

Required on macOS High Sierra with the default Terminal app, otherwise,
the right segment would extend to the next line.
This commit is contained in:
Nils Winkler
2018-01-08 07:33:41 +01:00
parent f48560bae0
commit d0df07435e
3 changed files with 25 additions and 5 deletions

View File

@@ -9,7 +9,7 @@ function __powerline_right_segment {
local params=( $1 )
IFS="${OLD_IFS}"
local separator_char="${POWERLINE_RIGHT_SEPARATOR}"
local padding=2
local padding="${POWERLINE_PADDING}"
local separator_color=""
if [[ "${SEGMENTS_AT_RIGHT}" -eq 0 ]]; then