Skip to content

Commit

Permalink
Update plugins/progress/progress.plugin.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Koichi Murase <[email protected]>
  • Loading branch information
RobLoach and akinomyoga authored Oct 4, 2024
1 parent fd000a0 commit 5a4d0eb
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions plugins/progress/progress.plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,7 @@ function progress()

# Get a clear line escape sequence
local clear_line
if _omb_util_command_exists 'tput'; then
clear_line=$(tput el)
if [ -z $clear_line ]; then
clear_line=$(tput el1)
if [ -z $clear_line ]; then
clear_line=$(tput ce)
fi
fi
fi
clear_line=$(tput el 2>/dev/null || tput ce 2>/dev/null)
if [ -z $clear_line ]; then
clear_line=$'\e[K'
fi
Expand Down

0 comments on commit 5a4d0eb

Please sign in to comment.