Skip to content

Commit 429efbe

Browse files
A Dynamic Collection of Shell Scripts with Educational Purpose
1 parent db9050b commit 429efbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/ble-simple

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ _cs_redraw() {
618618
if (( _prev_lines > 0 )); then
619619
printf '\e[%dA' "$_prev_lines" >&2
620620
fi
621-
printf '\r\e[0J%s%s' "$_CS_PS1_LAST" "$colored" >&2
621+
printf '\r\e[2K%s%s' "$_CS_PS1_LAST" "$colored" >&2
622622
printf '\r\e[%dG' "$(( ( _CS_PS1_LEN + _CS_POS ) % _term_cols + 1 ))" >&2
623623
_CS_PREV_BUF_LEN=${#_CS_BUFFER}
624624
fi

0 commit comments

Comments
 (0)