diff options
author | Rory Dudley | 2024-12-16 17:07:35 -0700 |
---|---|---|
committer | Rory Dudley | 2024-12-16 17:52:34 -0700 |
commit | 960b0123ee202aef0cfcd294d56af1713cb91de1 (patch) | |
tree | b1f6a432de1d55c3fb64bfee08a22d2209bba5fb /src/path.rs | |
parent | ac5152886fedc9b65fbb874c67711cd5227d2e00 (diff) | |
download | dwarvish-960b0123ee202aef0cfcd294d56af1713cb91de1.tar.gz |
Update left + right arrow keys, backspace with width fix
This patch updates the codepaths of the arrow keys and backspace keys to
calculate the width correctly when moving around in the buffer. See
commit ac5152886fed ("Workaround for faulty unicode_width values") for
more details, or you can also read the large comment at the top of the
new width! macro (which was added to reduce some redundant code, since
we need to properly compute character width in 4 different places).
Signed-off-by: Rory Dudley <rory@netc.lu>
Diffstat (limited to 'src/path.rs')
0 files changed, 0 insertions, 0 deletions