diff options
Diffstat (limited to 'src/theme.rs')
-rw-r--r-- | src/theme.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/theme.rs b/src/theme.rs index 7ee65a1..e373b72 100644 --- a/src/theme.rs +++ b/src/theme.rs @@ -25,9 +25,10 @@ pub fn theme_gen() -> Theme { return t; } -pub fn cursor_gen() -> Style { +pub fn cursor_gen(foreground: Style) -> Style { Style::from(ColorStyle::new( - Light(cursive::theme::BaseColor::Blue), TerminalDefault, + Light(cursive::theme::BaseColor::Blue), )) + .combine(foreground) } |