mirror of
https://github.com/tmux/tmux.git
synced 2025-12-13 17:16:05 +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:
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user