Skip to content

v1.17.0

Compare
Choose a tag to compare
@briandowns briandowns released this 17 Dec 03:44
· 19 commits to master since this release
12b31a6
Move cursor to the beginning of the line before erasing (#126)

The \033[K escape sequence signifies 'clear from cursor position to the
end of the line'. Without moving the cursor to the beggining of the line
first it results in no text being deleted. The behaviour of Carriage
Return (\r) in terminal emulators is not formally standardized but it is
generally interpreted as a move to the beginning of the line.

Fixes https://github.com/briandowns/spinner/issues/123