simon-git: putty (main): Ben Harris
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sun Apr 6 13:37:32 BST 2025
TL;DR:
9fcff777 Set ATTR_RIGHTCURS on pre-edit cursor
Repository: https://git.tartarus.org/simon/putty.git
On the web: https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer: Ben Harris <bjh21 at bjh21.me.uk>
Date: 2025-04-06 13:37:32
commit 9fcff77767d324cc86a71d11d3fa71448f6b0f56
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=9fcff77767d324cc86a71d11d3fa71448f6b0f56;hp=368d74cc25c59e7531217a13310d7bd79c498b53
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date: Sun Apr 6 13:31:15 2025 +0100
Set ATTR_RIGHTCURS on pre-edit cursor
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.
terminal/terminal.c | 2 ++
1 file changed, 2 insertions(+)
More information about the tartarus-commits
mailing list