diff --git a/bin/commands/inbox/select.rs b/bin/commands/inbox/select.rs
index 57bb1c6a..d80b4a17 100644
--- a/bin/commands/inbox/select.rs
+++ b/bin/commands/inbox/select.rs
@@ -298,6 +298,6 @@ impl App {
.to_boxed()
});
- tui::run(channel, state, window).await
+ tui::run(channel, state, window.to_boxed()).await
}
}
diff --git a/bin/commands/inbox/select/ui.rs b/bin/commands/inbox/select/ui.rs
index 88bd18bf..f10f09f6 100644
--- a/bin/commands/inbox/select/ui.rs
+++ b/bin/commands/inbox/select/ui.rs
@@ -147,7 +147,7 @@ impl<'a: 'static> Widget for Browser<'a> {
)
.content(Box::
>::new(
Table::new(state, tx.clone())
- .on_event(|table| {
+ .on_event(|table, _| {
table
.downcast_mut::>()
.and_then(|table| {
@@ -422,7 +422,7 @@ impl Widget for Search {
base: WidgetBase::new(tx.clone()),
_props: SearchProps {},
input: TextField::new(state, tx.clone())
- .on_event(|widget| {
+ .on_event(|widget, _| {
widget
.downcast_mut::>()
.and_then(|field| {
@@ -536,7 +536,7 @@ impl<'a: 'static> Widget for HelpPage<'a> {
)
.content(
Paragraph::new(state, tx.clone())
- .on_event(|paragraph| {
+ .on_event(|paragraph, _| {
paragraph
.downcast_mut::>()
.and_then(|paragraph| {
diff --git a/bin/commands/issue/select.rs b/bin/commands/issue/select.rs
index 53eacc5f..d3960753 100644
--- a/bin/commands/issue/select.rs
+++ b/bin/commands/issue/select.rs
@@ -217,6 +217,6 @@ impl App {
.to_boxed()
});
- tui::run(channel, state, window).await
+ tui::run(channel, state, window.to_boxed()).await
}
}
diff --git a/bin/commands/issue/select/ui.rs b/bin/commands/issue/select/ui.rs
index 8917c9e3..fd16f781 100644
--- a/bin/commands/issue/select/ui.rs
+++ b/bin/commands/issue/select/ui.rs
@@ -161,7 +161,7 @@ impl<'a: 'static> Widget for Browser<'a> {
)
.content(Box::>::new(
Table::new(state, tx.clone())
- .on_event(|table| {
+ .on_event(|table, _| {
table
.downcast_mut::>()
.and_then(|table| {
@@ -441,7 +441,7 @@ impl Widget for Search {
base: WidgetBase::new(tx.clone()),
_props: SearchProps {},
input: TextField::new(state, tx.clone())
- .on_event(|widget| {
+ .on_event(|widget, _| {
widget
.downcast_mut::>()
.and_then(|field| {
@@ -552,7 +552,7 @@ impl<'a: 'static> Widget for HelpPage<'a> {
)
.content(
Paragraph::new(state, tx.clone())
- .on_event(|paragraph| {
+ .on_event(|paragraph, _| {
paragraph
.downcast_mut::>()
.and_then(|paragraph| {
diff --git a/bin/commands/patch/select.rs b/bin/commands/patch/select.rs
index ab6b0213..9e0f8366 100644
--- a/bin/commands/patch/select.rs
+++ b/bin/commands/patch/select.rs
@@ -218,6 +218,6 @@ impl App {
.to_boxed()
});
- tui::run(channel, state, window).await
+ tui::run(channel, state, window.to_boxed()).await
}
}
diff --git a/bin/commands/patch/select/ui.rs b/bin/commands/patch/select/ui.rs
index 5b4a730d..c4643a13 100644
--- a/bin/commands/patch/select/ui.rs
+++ b/bin/commands/patch/select/ui.rs
@@ -161,7 +161,7 @@ impl<'a: 'static> Widget for Browser<'a> {
)
.content(Box::>::new(
Table::new(state, tx.clone())
- .on_event(|table| {
+ .on_event(|table, _| {
table
.downcast_mut::>()
.and_then(|table| {
@@ -464,7 +464,7 @@ impl Widget for Search {
base: WidgetBase::new(tx.clone()),
_props: SearchProps {},
input: TextField::new(state, tx.clone())
- .on_event(|widget| {
+ .on_event(|widget, _| {
widget
.downcast_mut::>()
.and_then(|field| {
@@ -575,7 +575,7 @@ impl<'a: 'static> Widget for HelpPage<'a> {
)
.content(
Paragraph::new(state, tx.clone())
- .on_event(|paragraph| {
+ .on_event(|paragraph, _| {
paragraph
.downcast_mut::>()
.and_then(|paragraph| {