mirror of
https://codeberg.org/icewind/logsmash.git
synced 2026-06-03 10:04:12 +02:00
updates
This commit is contained in:
parent
029894b74c
commit
a664daa606
6 changed files with 267 additions and 142 deletions
|
|
@ -244,7 +244,7 @@ impl<'a> UiState<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn process(self, event: UiEvent, app: &'a App<'a>) -> (bool, UiState) {
|
||||
pub fn process(self, event: UiEvent, app: &'a App<'a>) -> (bool, UiState<'a>) {
|
||||
match (self, event) {
|
||||
(UiState::Quit, _) => (true, UiState::Quit),
|
||||
(_, UiEvent::Quit) => (true, UiState::Quit),
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ impl ScrollbarTableState {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a> StatefulWidget for ScrollbarTable<'a> {
|
||||
impl StatefulWidget for ScrollbarTable<'_> {
|
||||
type State = ScrollbarTableState;
|
||||
|
||||
fn render(self, area: Rect, buf: &mut Buffer, state: &mut Self::State) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue