A simple CPU rendered GUI IDE experience.
Diffstat (limited to 'src/bar.rs')
| -rw-r--r-- | src/bar.rs | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -98,14 +98,16 @@ impl Bar { }); } State::Command(x) => { - chain(['>'], x.tedit.rope.chars()).zip(row).for_each( - |(x, y)| { + ":".chars() + .zip(repeat(Style::BOLD | Style::ITALIC)) + .chain(s(&x.tedit.rope.to_string())) + .zip(row) + .for_each(|((x, z), y)| { *y = Cell { letter: Some(x), - style: Style { flags: 0, ..y.style }, + style: Style { flags: z, ..y.style }, } - }, - ); + }); } State::Symbols(Rq { result: Some(Symbols { tedit, .. }), |