Set input text programmatically (e.g. from skill selection)
(&mut self, text: &str)
| 65 | |
| 66 | /// Set input text programmatically (e.g. from skill selection) |
| 67 | pub fn set_input(&mut self, text: &str) { |
| 68 | self.text_input.set_text(text); |
| 69 | self.refresh_command_menu(); |
| 70 | } |
| 71 | |
| 72 | pub fn command_menu_visible(&self) -> bool { |
| 73 | self.command_menu.is_visible() |
no test coverage detected