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