Skip to content

Commit 9d23117

Browse files
committed
Another place where we need to check for regional indicators
1 parent bac3541 commit 9d23117

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/SwiftTerm/Utilities.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,10 @@ struct UnicodeUtil {
367367
return 0
368368
}
369369

370+
if isRegionalIndicator(rune) {
371+
return 2
372+
}
373+
370374
if isEastAsianWide(irune) {
371375
return 2
372376
}

0 commit comments

Comments
 (0)