modified src/ui/widget.rs
@@ -70,7 +70,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -86,6 +86,13 @@ pub trait Properties {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -124,7 +131,7 @@ pub struct Shortcuts<S, A> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -151,7 +158,7 @@ impl<S, A> Shortcuts<S, A> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -168,16 +175,12 @@ impl<S, A> View<S, A> for Shortcuts<S, A> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -186,12 +189,12 @@ impl<B, S, A> Widget<B, S, A> for Shortcuts<S, A>
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -319,7 +322,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -419,11 +422,7 @@ where
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -470,10 +469,10 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified src/ui/widget/container.rs
@@ -50,7 +50,7 @@ impl<'a> Default for HeaderProps<'a> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -104,7 +104,7 @@ impl<'a: 'static, S, A> View<S, A> for Header<'a, S, A> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -119,10 +119,10 @@ impl<'a: 'static, B, S, A> Widget<B, S, A> for Header<'a, S, A>
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -214,7 +214,7 @@ impl<'a> Default for FooterProps<'a> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -268,7 +268,7 @@ impl<'a: 'static, S, A> View<S, A> for Footer<'a, S, A> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -307,10 +307,10 @@ impl<'a: 'static, B, S, A> Widget<B, S, A> for Footer<'a, S, A>
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -436,7 +436,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -463,10 +463,10 @@ impl<'a: 'static, B, S, A> Widget<B, S, A> for Container<B, S, A>
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified src/ui/widget/input.rs
@@ -198,10 +198,10 @@ impl<B, S, A> Widget<B, S, A> for TextField<S, A>
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified src/ui/widget/text.rs
@@ -7,9 +7,6 @@ use termion::event::Key;
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -53,7 +50,8 @@ impl<'a> Default for ParagraphProps<'a> {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -178,7 +176,7 @@ impl<'a: 'static, S, A> View<S, A> for Paragraph<'a, S, A> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -218,19 +216,13 @@ impl<'a: 'static, B, S, A> Widget<B, S, A> for Paragraph<'a, S, A>
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|