mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
readability
This commit is contained in:
parent
79b582f983
commit
c4a905a1c5
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ clear_incomplete_line() {
|
||||||
tput cup $row $col
|
tput cup $row $col
|
||||||
|
|
||||||
# not on first column? clean up! (overwrites answer)
|
# not on first column? clean up! (overwrites answer)
|
||||||
[[ $col != 0 ]] && printf "\e[7m%%\e[m%$((COLUMNS-1))s\r"
|
[[ $col != 0 ]] && printf "\e[7m%%\e[m%*s\r" $((COLUMNS-1))
|
||||||
# else e.g prompt will overwrite answer echo
|
# else e.g prompt will overwrite answer echo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue