mirror of
https://github.com/tmux/tmux.git
synced 2025-12-18 00:02:54 -05:00
Allow characters to be combined in either order, reported by Jake
Stewart in GitHub issue 4726.
This commit is contained in:
parent
52917abe21
commit
33c1ba1549
@ -2152,6 +2152,8 @@ screen_write_combine(struct screen_write_ctx *ctx, const struct grid_cell *gc)
|
||||
case HANGULJAMO_STATE_NOT_HANGULJAMO:
|
||||
if (utf8_should_combine(&last.data, ud))
|
||||
force_wide = 1;
|
||||
else if (utf8_should_combine(ud, &last.data))
|
||||
force_wide = 1;
|
||||
else if (!utf8_has_zwj(&last.data))
|
||||
return (0);
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user