diff --git a/src/components/textinput.rs b/src/components/textinput.rs index c906dc4a..8ce8c7a0 100644 --- a/src/components/textinput.rs +++ b/src/components/textinput.rs @@ -89,6 +89,7 @@ impl TextInputComponent { /// Set the `msg`. pub fn set_text(&mut self, msg: String) { self.msg = msg; + //TODO: make sure cursor is in bounds } /// Set the `title`.