From 047a7c244da2e49ecda913706ea5d869ba1e8cd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Wed, 13 Dec 2023 18:58:16 +0100 Subject: [PATCH] Add missing ControlSequences.SetUnderlineColor() method. Mirrors the ControlBuilder.SetUnderlineColor() method. --- src/core/Text/Control/ControlSequences.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/Text/Control/ControlSequences.cs b/src/core/Text/Control/ControlSequences.cs index 8153688..a61f0d2 100644 --- a/src/core/Text/Control/ControlSequences.cs +++ b/src/core/Text/Control/ControlSequences.cs @@ -315,6 +315,11 @@ public static string SetBackgroundColor(Color color) return Create(static (cb, color) => cb.SetForegroundColor(color), color); } + public static string SetUnderlineColor(Color color) + { + return Create(static (cb, color) => cb.SetUnderlineColor(color), color); + } + public static string SetDecorations( bool intense = false, bool faint = false,