aboutsummaryrefslogtreecommitdiff
path: root/src/theme.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/theme.rs')
-rw-r--r--src/theme.rs5
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 {
25 return t; 25 return t;
26} 26}
27 27
28pub fn cursor_gen() -> Style { 28pub fn cursor_gen(foreground: Style) -> Style {
29 Style::from(ColorStyle::new( 29 Style::from(ColorStyle::new(
30 Light(cursive::theme::BaseColor::Blue),
31 TerminalDefault, 30 TerminalDefault,
31 Light(cursive::theme::BaseColor::Blue),
32 )) 32 ))
33 .combine(foreground)
33} 34}