mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
wip: big flat pt.12, down to 1 error
This commit is contained in:
parent
b718e54d33
commit
e21ef1af94
9 changed files with 53 additions and 30 deletions
|
|
@ -135,6 +135,14 @@ impl Content<Tui> for Box<dyn PhraseViewMode> {
|
|||
Some(&(*self))
|
||||
}
|
||||
}
|
||||
impl Render<Tui> for Box<dyn PhraseViewMode> {
|
||||
fn min_size (&self, to: [u16;2]) -> Perhaps<[u16;2]> {
|
||||
self.content().unwrap().min_size(to)
|
||||
}
|
||||
fn render (&self, to: &mut TuiOutput) -> Usually<()> {
|
||||
self.content().unwrap().render(to)
|
||||
}
|
||||
}
|
||||
|
||||
impl MidiView<Tui> for MidiEditor {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue