nghung270192 / colorama

Automatically exported from code.google.com/p/colorama
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Implement CSI n K: EL – Erase in Line #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As described on Wikipedia:
"Erases part of the line. If n is zero (or missing), clear from cursor to the 
end of the line. If n is one, clear from cursor to beginning of the line. If n 
is two, clear entire line. Cursor position does not change."

What steps will reproduce the problem?
1. print('Foo\033[1K')

What is the expected output? What do you see instead?
winterm.WinTerm.erase_line() needs to be added, which would be similar to 
erase_data().

What version of the product are you using? On what operating system?
c25659277b30

Original issue reported on code.google.com by maruel@google.com on 20 Oct 2011 at 4:59

GoogleCodeExporter commented 9 years ago
Thanks for the suggestion. It makes sense. I'm not likely to get to this 
anytime soon, but I'd be delighted to chat about it and accept patches.

Original comment by tart...@gmail.com on 20 Oct 2011 at 5:25

GoogleCodeExporter commented 9 years ago
Closing as per Wiggin's comment on https://github.com/tartley/colorama/issues/25

Original comment by tart...@gmail.com on 16 Feb 2015 at 12:06