mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
writing blanks to end is useless
This commit is contained in:
parent
37ce373989
commit
819fd72a82
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ clear_incomplete_line() {
|
|||
local col=$((${pos[1]} - 1))
|
||||
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue