Feature Request: Undercurl support (dotted and dashed as well I guess) #14675

Closed
opened 2026-01-31 04:16:34 +00:00 by claunia · 2 comments
Owner

Originally created by @markhagemann on GitHub (Jul 24, 2021).

Description of the new feature/enhancement

Example:

folke trouble undercurl (2)

Apologies if this is already working somehow but I've followed a few guides and haven't had any luck on Windows 10 with WSL2 using Windows Terminal along with WezTerm but as soon as I used the same dotfiles within a VirtualBox for Garuda OS it worked for undercurls.

Existing Behavior:
missing undercurl support

Expected Behavior:
wez printf (2)

Proposed technical implementation details (optional)

I have very limited knowledge on this but it seems the main thing to support this for tmux is Smulx if that helps

set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'  # undercurl support
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'  # underscore colours - needs tmux-3.0
Originally created by @markhagemann on GitHub (Jul 24, 2021). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement Example: ![folke trouble undercurl (2)](https://user-images.githubusercontent.com/21050889/126869462-77120cdc-b1b6-47b5-b595-3d5bc7e9a8d2.png) Apologies if this is already working somehow but I've followed a few guides and haven't had any luck on Windows 10 with WSL2 using Windows Terminal along with [WezTerm](https://wezfurlong.org/wezterm/faq.html#how-do-i-enable-undercurl-curly-underlines) but as soon as I used the same dotfiles within a VirtualBox for Garuda OS it worked for undercurls. Existing Behavior: ![missing undercurl support](https://user-images.githubusercontent.com/21050889/126869098-41edc40f-cb94-4b0e-800a-b3ff8d7c9f6e.PNG) Expected Behavior: <img width="649" alt="wez printf (2)" src="https://user-images.githubusercontent.com/21050889/126869460-d16ffd45-7598-4662-9a91-8801c0a28f27.png"> <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> # Proposed technical implementation details (optional) I have very limited knowledge on this but it seems the main thing to support this for tmux is `Smulx` if that helps ``` set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm' # undercurl support set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m' # underscore colours - needs tmux-3.0 ``` <!-- A clear and concise description of what you want to happen. -->
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 04:16:35 +00:00
Author
Owner

@j4james commented on GitHub (Jul 24, 2021):

This is not supported, but there is an issue for it: #7228.

@j4james commented on GitHub (Jul 24, 2021): This is not supported, but there is an issue for it: #7228.
Author
Owner

@markhagemann commented on GitHub (Jul 26, 2021):

Closing in favor of https://github.com/microsoft/terminal/issues/7228

@markhagemann commented on GitHub (Jul 26, 2021): Closing in favor of https://github.com/microsoft/terminal/issues/7228
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14675