mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
parent
f38db87b17
commit
97c563a5ad
2 changed files with 2 additions and 3 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
pub(self) use ::{
|
use crate::*;
|
||||||
};
|
|
||||||
|
|
||||||
/// Configuration.
|
/// Configuration.
|
||||||
///
|
///
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ pub struct Mode<D: Dsl + Ord> {
|
||||||
pub modes: Modes,
|
pub modes: Modes,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Draw<TuiOut> for Mode {
|
impl<D: Dsl + Ord> Draw<TuiOut> for Mode<D> {
|
||||||
fn draw (&self, to: &mut TuiOut) {
|
fn draw (&self, to: &mut TuiOut) {
|
||||||
self.content().draw(to)
|
self.content().draw(to)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue