blinksh / blinksh/blink

Truecolor underline not working in tmux over ssh

Open
#2,104 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Swift
Stars
6.9k
Forks
746
PR merge metrics
No merged PRs in 30d

Description

### Checklist

- [x] Using latest version on TestFlight
- [x] Read the [docs](http://blink.sh/docs/)
- [x] Searched for [existing GitHub issues](https://github.com/blinksh/blink/issues)

### Configuration

Blink version: v18.1.1.977 (TestFlight)
iOS version: iPadOS 18.3.1

### Describe the bug

What's happening:
1. ssh to remote server and start tmux with the following `~/.tmux.conf`.
```
set-option -sa terminal-overrides ",xterm-256color:Tc"
set-option -s default-terminal "tmux-direct"
```
2. `cat colors.txt` [colors.txt](https://github.com/user-attachments/files/18924798/colors.txt)
3. Observe that in Ghostty "truecolor underline" has colored underline, while in Blink the underline is bland.

Expected behavior: truecolor underline works in every scenario as shown below.

Screenshots

Native Blink and over ssh:
![Image](https://github.com/user-attachments/assets/dd8bc64e-914c-4cd8-83dc-d84746fed30c)

Blink over ssh with tmux:
![Image](https://github.com/user-attachments/assets/24f46a46-680d-46af-910b-c12beef939fd)

Ghostty on macOS over ssh with tmux:
Image

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the report on iPadOS 18.3.1 with Blink v18.1.1.977: SSH to a remote server, start tmux using the shown ~/.tmux.conf, and run colors.txt. Compare the underline rendering with the supplied screenshots; done means the truecolor underline is colored in Blink over SSH through tmux.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.