blessings
blessings copied to clipboard
Relative positioning
Add a relative-positioning version of location().
Does anybody really care about this? What use is it?
It is nutty, but I could implement the query cursor position sequence report & read for terminals where is_a_tty is True. You send the sequence and wait for a period to get a report. I use a regex to pull out the (x, y). The method name might be something like .get_pos()