add cursor to search bar in default settings

This commit is contained in:
figsoda 2021-11-08 08:00:24 -05:00
parent 32962e5ed8
commit f26d45073f
2 changed files with 5 additions and 0 deletions

View file

@ -57,6 +57,7 @@ Config(
Parts([
Styled([Fg(Indexed(113))], Text("Searching: ")),
Styled([Fg(Indexed(185))], Query),
Styled([Fg(Indexed(185))], Text("⎸")),
]),
If(Not(Stopped), Parts([
Styled([Fg(Indexed(113))], Parts([

View file

@ -176,6 +176,10 @@ pub fn layout() -> Widget {
vec![AddStyle::Fg(Color::Indexed(185))],
Box::new(Texts::Query),
),
Texts::Styled(
vec![AddStyle::Fg(Color::Indexed(185))],
Box::new(Texts::Text(String::from(""))),
),
])),
Some(Box::new(Texts::If(
Condition::Not(Box::new(Condition::Stopped)),