Warp icon indicating copy to clipboard operation
Warp copied to clipboard

Glyph composition

Open cormullion opened this issue 3 years ago • 2 comments
trafficstars

Discord username (optional)

No response

Describe the bug

Terminals usually let you type two characters to produce one. For example, 'e' U+0065 followed by U+0301 should give 'é'.

In this github text box, you can type 'x' followed by U+0302 to get 'x̂'. (using the Unicode Hex Input keyboard, and hold down Option while you type '0302').

In REPLs such as Julia, you want to type maths stuff such as x̂.

These composite characters are accepted by the terminal, but don't appear on the screen.

To Reproduce

Type x followed by U+0302 to get 'x̂'. (with the MacOS Unicode Hex Input keyboard selected, type x, then hold down Option while you type 0302).

Expected behaviour

Screenshots

MacOS terminal on the right:

Screenshot 2022-09-20 at 10 45 21

Operating System

MacOS

OS Version

12.0.1

Shell Version

zsh 5.8 (x86_64-apple-darwin21.0)

Warp Version

v0.2022.09.13.08.15.stable_03

Additional context

No response

Does this block you from using Warp daily?

No

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

No response

cormullion avatar Sep 20 '22 09:09 cormullion

For extra credit, test with more than two glyphs. This is MacOS Terminal:

Screenshot 2022-09-20 at 10 50 26

cormullion avatar Sep 20 '22 09:09 cormullion

Thanks for the very clear repro instructions. This would be a big project for us and I'll let you when it starts to be worked on!

elviskahoro avatar Sep 20 '22 17:09 elviskahoro