mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 04:36:45 +01:00
refactor + not sure whats up with the double padding
This commit is contained in:
parent
39407c9760
commit
c51d1cf643
10 changed files with 388 additions and 393 deletions
|
|
@ -13,7 +13,15 @@ impl HelpModal {
|
|||
Self { cursor: 0, search: None, exited: false }
|
||||
}
|
||||
}
|
||||
exit!(HelpModal);
|
||||
|
||||
impl Exit for HelpModal {
|
||||
fn exited (&self) -> bool {
|
||||
self.exited
|
||||
}
|
||||
fn exit (&mut self) {
|
||||
self.exited = true
|
||||
}
|
||||
}
|
||||
|
||||
render!(HelpModal |self, buf, area|{
|
||||
make_dim(buf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue