Skip to content

Glyph composition  #1849

@cormullion

Description

@cormullion

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    FEATUREFeature Requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions