blinksh / blink

Blink Mobile Shell for iOS (Mosh based)
https://blink.sh
GNU General Public License v3.0
6.08k stars 565 forks source link

Characters being drawned with incorrect offset on lines with emoji characters #2020

Open l2dy opened 1 week ago

l2dy commented 1 week ago

Checklist

Configuration

Blink version: b82e66b4fc3fa59bbb2d5e2e90f2747ae442dff4 (built from source) iOS version: 17.5.1 Starship config:

add_newline = false

[line_break]
disabled = true

Describe the bug

When custom shell prompt contains emoji characters:

  1. Character offset, e.g. whitespace disappear before in.
  2. Ghost characters, e.g. the dual arrow.
  3. Prompt character (the arrow) missing or can be deleted.

Expected behavior is a consistent prompt.

IMG2