diff options
author | Alexandre Bury <alexandre.bury@gmail.com> | 2021-01-19 10:53:40 -0800 |
---|---|---|
committer | Alexandre Bury <alexandre.bury@gmail.com> | 2021-01-19 10:53:40 -0800 |
commit | ed6ef1f690dc9906311a63b28d41602b17f641f7 (patch) | |
tree | 40973aba8f1b7628e7fbe9df6db0d86055d40cfe /src | |
parent | fd06bfa3e11707909c2c08788d04105abddbcc9a (diff) |
Update to cursive 0.16
Diffstat (limited to 'src')
-rw-r--r-- | src/tui/markdown.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tui/markdown.rs b/src/tui/markdown.rs index 49c36db..9b03dde 100644 --- a/src/tui/markdown.rs +++ b/src/tui/markdown.rs @@ -65,7 +65,7 @@ pub fn preview(width: usize, input: &StyledString) -> StyledString { fn drop_color(span: StyledIndexedSpan) -> StyledIndexedSpan { IndexedSpan { attr: Style { - color: None, + color: Default::default(), ..span.attr }, ..span |