modified src/ui/widget.rs
@@ -21,7 +21,7 @@ use super::{layout, span};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -130,6 +130,22 @@ pub trait Properties {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -457,6 +473,7 @@ where
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -570,7 +587,10 @@ where
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/ui/widget/container.rs
@@ -92,11 +92,7 @@ impl<'a: 'static, S, A> Widget for Header<'a, S, A> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -269,11 +265,7 @@ impl<'a: 'static, S, A> Widget for Footer<'a, S, A> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified src/ui/widget/input.rs
@@ -9,7 +9,7 @@ use ratatui::prelude::Rect;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -50,11 +50,15 @@ impl Default for TextFieldProps {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -167,7 +171,10 @@ impl<S, A> Widget for TextField<S, A> {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/ui/widget/text.rs
@@ -7,7 +7,7 @@ use termion::event::Key;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -51,6 +51,7 @@ impl<'a> Default for ParagraphProps<'a> {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -58,6 +59,8 @@ pub struct ParagraphState {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -190,7 +193,10 @@ impl<'a: 'static, S, A> Widget for Paragraph<'a, S, A> {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|