index : nmrs-tui
A fast, Vim-friendly NetworkManager TUI built in Rust.
about summary refs log tree commit diff

Diffstat (limited to 'src/ui/input.rs')

-rw-r--r-- src/ui/input.rs 2
 1 file changed, 2 insertions(+)

diff --git a/src/ui/input.rs b/src/ui/input.rs
index f39e582..6a20fa3 100644
--- a/src/ui/input.rs
+++ b/src/ui/input.rs
@@ -7,6 +7,7 @@
pub struct Input {
    pub mode: InputMode,
    pub value: String,
    pub hidden_password: bool,
    // cursor postion x.
    pub cx: usize,
}
@@ -16,6 +17,7 @@
        Self {
            mode: InputMode::Normal,
            value: String::new(),
            hidden_password: true,
            cx: 0,
        }
    }