#2734·ratatui

New kinds of underlined texts

Author: shafai-pouyaCreated Aug 24, 2026Updated Aug 24, 2026
LabelsType: Enhancement

Problem

So, ratatui supports colored underlines. But in my project, I need different kinds of underlines (e.g.: Curved underlines, double underlines).

Solution

You can add new Modifiers for these (Modifier::DOUBLE_UNDERLINED, Modifer::CUREVE_UNDERLINED).

Are you willing to contribute an implementation?

  • I am willing to open a PR implementing this.
  • I can try to implement it, but I will need guidance.
  • I am not able to implement this right now.

Additional context

I also found the escape sequence for these types: Curved: \e[4:3m Doubled: \e[21m