Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 #123
- Loading branch information