Try to find text targets in tester::recorder
This commit is contained in:
parent
81d1eda7fe
commit
1923d1db1e
5 changed files with 245 additions and 59 deletions
|
|
@ -546,6 +546,7 @@ impl<P: Program + 'static> Tester<P> {
|
|||
column(self.instructions.iter().enumerate().map(
|
||||
|(i, instruction)| {
|
||||
monospace(instruction.to_string())
|
||||
.wrapping(text::Wrapping::None) // TODO: Ellipsize?
|
||||
.size(10)
|
||||
.style(move |theme: &Theme| text::Style {
|
||||
color: match &self.state {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue