writing blanks to end is useless

This commit is contained in:
Loic Nageleisen 2012-08-14 17:48:28 +02:00
parent 37ce373989
commit 819fd72a82

View file

@ -55,7 +55,7 @@ clear_incomplete_line() {
local col=$((${pos[1]} - 1)) local col=$((${pos[1]} - 1))
# not on first column? clean up! # not on first column? clean up!
[[ $col != 0 ]] && printf "\e[7m%%\e[m%$((COLUMNS-1))s\r" [[ $col != 0 ]] && printf "\e[7m%%\e[m\n"
} }
# git prompt info # git prompt info