Closed eugulixes closed 7 years ago
@eugulixes, but if the cursor is at the end of a line, where _echo
should write a character?
@dshil, in my previous example the x
and y
values start from 1, so echo
will put a character at the 80th position and then set _eol
to True.
Such programs like
vi
may send something like\E[23;80H
(set the vertical and horizontal positions of the cursor toy
andx
). The current implementation ofcup
will set_eol
to True in this case and_echo
will write a character on the next line. It's obviously a bug.