mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +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.
|
||||
///
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ pub struct Mode<D: Dsl + Ord> {
|
|||
pub modes: Modes,
|
||||
}
|
||||
|
||||
impl Draw<TuiOut> for Mode {
|
||||
impl<D: Dsl + Ord> Draw<TuiOut> for Mode<D> {
|
||||
fn draw (&self, to: &mut TuiOut) {
|
||||
self.content().draw(to)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue