lib: Unify table and text scrolling
7 files changed
+71
-49
25752aaf
→
4803308e
modified bin/commands/inbox/select/ui.rs
@@ -18,7 +18,8 @@ use tui::ui::widget::container::{
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -290,7 +291,13 @@ fn browse_footer<'a>(props: &BrowserProps<'a>) -> Vec<Column<'a>> {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified bin/commands/issue/select/ui.rs
@@ -21,7 +21,8 @@ use tui::ui::widget::container::{
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -315,7 +316,13 @@ fn browse_footer<'a>(props: &BrowserProps<'a>, selected: Option<usize>) -> Vec<C
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified bin/commands/patch/select/ui.rs
@@ -23,7 +23,8 @@ use tui::ui::widget::container::{
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -339,7 +340,13 @@ fn browser_footer<'a>(props: &BrowserProps<'a>, selected: Option<usize>) -> Vec<
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/ui/widget.rs
@@ -2,6 +2,7 @@ pub mod container;
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified src/ui/widget/list.rs
@@ -273,26 +273,3 @@ where
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
modified src/ui/widget/text.rs
@@ -1,10 +1,12 @@
|
|
|
|
| + | |
| + | |
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
@@ -81,14 +83,15 @@ impl<S, M> TextArea<S, M> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -96,7 +99,7 @@ impl<S, M> TextArea<S, M> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -104,34 +107,21 @@ impl<S, M> TextArea<S, M> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
added src/ui/widget/utils.rs
@@ -0,0 +1,33 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |