Revert "Fix cursor move with wide glyphs"
commit8c68ec52419f3f965164cafcf589b87e8961348d
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 30 Mar 2024 11:30:49 +0000 (30 12:30 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 30 Mar 2024 11:37:06 +0000 (30 12:37 +0100)
tree9ce5f2d0432e0fddeeb527e672a3620590186469
parent5ce971628106fb767ef91bf4386227423f5fdf98
Revert "Fix cursor move with wide glyphs"

This reverts commit 7473a8d1a57e5f9aba41b953f4e498c35e1c9dc5.

This patch needs some more work. It caused regressions with programs that use
GNU readline, etc.

Original test-case example from Tim Culverhouse <tim@timculverhouse.com>:

printf " đŸ˜€" && sleep 2 && printf "\e[D" && sleep 2 && printf "\e[D" && sleep 2

After the patch it caused regressions, example test-case:

printf "A歗\bB\n"
st.c