simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Tue Feb 26 18:47:51 GMT 2019


TL;DR:
  07ebd88c Fix selection and cursor handling for bidi + wide chars.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2019-02-26 18:47:51

commit 07ebd88c3ada636ed1a9382cce9c433686b5dcfd
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=07ebd88c3ada636ed1a9382cce9c433686b5dcfd;hp=801ab68eac3f442ec10688f17ad9f76f873fb76f
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Feb 26 18:32:44 2019 +0000

    Fix selection and cursor handling for bidi + wide chars.
    
    Commit fec93d5e0 missed a piece: when we hand wcTo to
    term_bidi_cache_store and it uses it to set up the mapping between
    physical and logical character positions for cursor and selection
    handling, it will assume wcTo has as many entries as there are columns
    in the terminal. But in fact now wcTo may be shorter than that, so
    term_bidi_cache_store also needs to pay attention to the nchars field.

 terminal.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)



More information about the tartarus-commits mailing list