(&mut self)
| 59 | } |
| 60 | |
| 61 | pub fn move_up(&mut self) { |
| 62 | if let Some(selected) = self.state.selected() { |
| 63 | if selected > 0 { |
| 64 | self.state.select(Some(selected - 1)); |
| 65 | } |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | pub fn move_down(&mut self) { |
| 70 | if let Some(selected) = self.state.selected() { |