mirror of
https://github.com/mintycube/st.git
synced 2024-10-22 14:05:49 +02:00
Fix wide glyphs breaking "nowrap" mode
Consider the following example: printf '\e[?7l';\ for i in $(seq $(($(tput cols) - 1))); do printf a; done;\ printf '🙈\n';\ printf '\e[?7h' Even though MODE_WRAP has been disabled, the emoji appeared on the next line. This patch keeps wide glyphs on the same line and moves them to the right-most possible position. ref. https://git.suckless.org/st/commit/8abe4bcb41aa7fda0ae00823f6a20271124150db.html
This commit is contained in:
parent
6ade70c726
commit
3cbaecfa31
Loading…
Reference in New Issue
Block a user