diff options
author | A-Walrus | 2022-09-04 08:28:55 +0000 |
---|---|---|
committer | Pascal Kuthe | 2022-10-01 15:00:35 +0000 |
commit | 79a39c1063eca995bf75694743dc5eb3c905fa9c (patch) | |
tree | b2ac4d7004be883740fcc3de1420fa17ed60d0fb /helix-view/src/graphics.rs | |
parent | 3ad7d543ca17963f0839b1a6cd8abacdb5c60cf7 (diff) |
Fix failing tests
Add underline field to doctests, and fix bugs
Diffstat (limited to 'helix-view/src/graphics.rs')
-rw-r--r-- | helix-view/src/graphics.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-view/src/graphics.rs b/helix-view/src/graphics.rs index c995f60c..6c854fd0 100644 --- a/helix-view/src/graphics.rs +++ b/helix-view/src/graphics.rs @@ -405,6 +405,7 @@ impl FromStr for Modifier { /// fg: Some(Color::Yellow), /// bg: Some(Color::Red), /// add_modifier: Modifier::BOLD, +/// underline: Some(Color::Reset), /// sub_modifier: Modifier::empty(), /// }, /// buffer[(0, 0)].style(), @@ -429,6 +430,7 @@ impl FromStr for Modifier { /// Style { /// fg: Some(Color::Yellow), /// bg: Some(Color::Reset), +/// underline: Some(Color::Reset), /// add_modifier: Modifier::empty(), /// sub_modifier: Modifier::empty(), /// }, |