Glyph composition

Open
#1,849 9 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
macos, zsh

Research direction

Reproduce the issue in Warp on macOS 12.0.1 with zsh 5.8 by entering x followed by U+0302 using Unicode Hex Input. Trace the terminal input and glyph-rendering entry points involved; done means the composed appears correctly without regressing other combining characters.

Written by the indexing model from the issue text.

Description

enhancement triaged
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

Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from warpdotdev/warp

All issues in warpdotdev/warp

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.