Comment 3 for bug 1419339

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

Simple version:
export PROMPT_COMMAND='printf "%*s\r\e[K" $COLUMNS'

More complex version with an inverse exclamation mark:
export PROMPT_COMMAND='printf "\e[7m!\e[0m%*s\r\e[K" $((COLUMNS-1))'