mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-24 06:25:03 -05:00

Currently, we display the cursor at the right-hand end of the pre-edit text. That looks good for block and underline cursors, but it's a bit weird for the vertical line, which naturally appears at the left edge of the rightmost character. Setting ATTR_RIGHTCURS fixes this and means that the vertical-line cursor appears at the right edge of the rightmost character. That also corrects a weirdness where ATTR_RIGHTCURS was leaking through from the underlying pending-wrap state of the terminal, which was definitely wrong.