mirror of
https://github.com/figsoda/mmtc
synced 2024-11-10 18:24:13 +00:00
add cursor to search bar in default settings
This commit is contained in:
parent
32962e5ed8
commit
f26d45073f
2 changed files with 5 additions and 0 deletions
1
mmtc.ron
1
mmtc.ron
|
@ -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([
|
||||
|
|
|
@ -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)),
|
||||
|
|
Loading…
Reference in a new issue