This commit is contained in:
Stephan Dilly 2020-07-04 15:38:46 +02:00
parent 60759d7bec
commit 313f5586b0

View File

@ -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`.