commit | d0ab1a837a0ab3e26fe7195f14672f6feb43c4c4 | [log] [download] |
---|---|---|
author | nicm <nicm> | Thu Oct 14 09:54:51 2021 +0000 |
committer | nicm <nicm> | Thu Oct 14 09:54:51 2021 +0000 |
tree | 4dba4f0016458b52e868f655553ac0048962c0f3 | |
parent | 837ca176d1874273f3de615c75b506e1b1787a1b [diff] |
When checking ranges in tty_cmd_cells, cannot use the tty cursor position and tty_cursor because it may be at the final invisible cursor position on automargin terminals. The text to be drawn is confined to the pane, so use the pane cursor position for the checks instead. Fix from Anindya Mukherjee, redraw problem reported by naddy@.