summaryrefslogtreecommitdiff
path: root/src/terminal_ui.cc
diff options
context:
space:
mode:
authorAdriĆ  Arrufat <adria.arrufat@outlook.com>2024-08-04 20:55:21 +0900
committerAdriĆ  Arrufat <adria.arrufat@outlook.com>2024-08-04 20:55:21 +0900
commit2ab35fbb23baad69792d4cf45a3af83e2227c5af (patch)
treec2aa0fbd991a451f7d3efe768e9cdf7968f75f27 /src/terminal_ui.cc
parent10ed78fe8a580b3558348746ee53f81c5b0aeae1 (diff)
Add support for double underline
Diffstat (limited to 'src/terminal_ui.cc')
-rw-r--r--src/terminal_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal_ui.cc b/src/terminal_ui.cc
index 33574e90..912dfb57 100644
--- a/src/terminal_ui.cc
+++ b/src/terminal_ui.cc
@@ -224,7 +224,7 @@ void TerminalUI::Screen::set_face(const Face& face, Writer& writer)
static constexpr int fg_table[]{ 39, 30, 31, 32, 33, 34, 35, 36, 37, 90, 91, 92, 93, 94, 95, 96, 97 };
static constexpr int bg_table[]{ 49, 40, 41, 42, 43, 44, 45, 46, 47, 100, 101, 102, 103, 104, 105, 106, 107 };
static constexpr int ul_table[]{ 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
- static constexpr const char* attr_table[]{ "0", "4", "4:3", "7", "5", "1", "2", "3", "9" };
+ static constexpr const char* attr_table[]{ "0", "4", "4:3", "21", "7", "5", "1", "2", "3", "9" };
auto set_color = [&](bool fg, const Color& color, bool join) {
if (join)