SwiftTerm
SwiftTerm copied to clipboard
Working with compose emojis such as "🖐🏾" or "👩👩👦👦"
Describe the bug
When I send a emoji made of several characters with compose, like "🖐🏾" or "👩👩👦👦", to terminalView using: terminalView?.feed(text: string)
, it appears on the view as the concatenation of the characters, like this: "👨👩👦👧"
To Reproduce
Type "🖐🏾" or "👩👩👦👦" using the emoji keyboard, or call terminalView?.feed(text: "🖐🏾")
Expected behavior I would expect the composed emoji to appear instead of the concatenation.
Additional context
It may be that I am doing something wrong; maybe I should not call terminalView.feed()
to insert text like composed emojis, but I could not find which other method I should call.