mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 04:06:45 +01:00
fix: add missing flush
This commit is contained in:
parent
530cba2bc8
commit
56db9cfce1
2 changed files with 3 additions and 2 deletions
|
|
@ -106,7 +106,7 @@ impl Content for Demo<Tui> {
|
|||
}
|
||||
|
||||
impl Handle<Tui> for Demo<Tui> {
|
||||
fn handle (&mut self, from: &Tui) -> Perhaps<bool> {
|
||||
fn handle (&mut self, from: &TuiInput) -> Perhaps<bool> {
|
||||
match from.event() {
|
||||
key!(KeyCode::PageUp) => {
|
||||
self.index = (self.index + 1) % self.items.len();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue