summaryrefslogtreecommitdiffstats
path: root/src/poem/elements/verse.rs
diff options
context:
space:
mode:
authorRory Dudley2024-12-16 17:07:35 -0700
committerRory Dudley2024-12-16 17:52:34 -0700
commit960b0123ee202aef0cfcd294d56af1713cb91de1 (patch)
treeb1f6a432de1d55c3fb64bfee08a22d2209bba5fb /src/poem/elements/verse.rs
parentac5152886fedc9b65fbb874c67711cd5227d2e00 (diff)
downloaddwarvish-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/poem/elements/verse.rs')
0 files changed, 0 insertions, 0 deletions