modified src/ui/widget.rs
@@ -6,6 +6,7 @@ pub mod window;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -16,7 +17,7 @@ use ratatui::widgets::Cell;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -25,7 +26,13 @@ pub struct BaseView<S, A> {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -104,7 +111,7 @@ pub trait Widget {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -128,6 +135,13 @@ pub trait Widget {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/ui/widget/container.rs
@@ -516,7 +516,7 @@ impl<S, A> SectionGroup<S, A> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -555,10 +555,7 @@ impl<S, A> Widget for SectionGroup<S, A> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified src/ui/widget/input.rs
@@ -49,7 +49,7 @@ impl Default for TextFieldProps {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -66,6 +66,10 @@ pub struct TextField<S, A> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -127,7 +131,7 @@ impl<S, A> TextField<S, A> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -168,10 +172,7 @@ impl<S, A> Widget for TextField<S, A> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -241,3 +242,5 @@ impl<S, A> Widget for TextField<S, A> {
|
|
|
|
|
|
| + | |
| + | |
modified src/ui/widget/list.rs
@@ -104,6 +104,10 @@ impl<'a, S, A, R, const W: usize> Table<'a, S, A, R, W>
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -155,7 +159,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -200,10 +204,7 @@ where
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified src/ui/widget/text.rs
@@ -44,7 +44,7 @@ impl<'a: 'static> Properties for ParagraphProps<'a> {}
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -136,7 +136,7 @@ impl<'a, S, A> Paragraph<'a, S, A> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -185,10 +185,7 @@ impl<'a: 'static, S, A> Widget for Paragraph<'a, S, A> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|