From 6cdcbac536138e3ce451eafcac4607ea7d6e3f7d Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Sun, 24 Jul 2016 08:19:34 -0600
Subject: [PATCH] Add escapes to undo styles

---
 src/style.rs | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/style.rs b/src/style.rs
index f1b1a2ef..fba488b3 100644
--- a/src/style.rs
+++ b/src/style.rs
@@ -10,4 +10,11 @@ derive_csi_sequence!("Underlined text.", Underline, "4m");
 derive_csi_sequence!("Blinking text (not widely supported).", Blink, "5m");
 derive_csi_sequence!("Inverted colors (negative mode).", Invert, "7m");
 derive_csi_sequence!("Crossed out text (not widely supported).", CrossedOut, "9m");
+derive_csi_sequence!("Undo bold text.", NoBold, "21m");
+derive_csi_sequence!("Undo fainted text (not widely supported).", NoFaint, "22m");
+derive_csi_sequence!("Undo italic text.", NoItalic, "23m");
+derive_csi_sequence!("Undo underlined text.", NoUnderline, "24m");
+derive_csi_sequence!("Undo blinking text (not widely supported).", NoBlink, "25m");
+derive_csi_sequence!("Undo inverted colors (negative mode).", NoInvert, "27m");
+derive_csi_sequence!("Undo crossed out text (not widely supported).", NoCrossedOut, "29m");
 derive_csi_sequence!("Framed text (not widely supported).", Framed, "51m");
-- 
GitLab