| 1588 | } |
| 1589 | |
| 1590 | fn handle_sandbox_setting_confirm_set_key(&mut self, key: KeyEvent) { |
| 1591 | match key.code { |
| 1592 | KeyCode::Char('y') | KeyCode::Enter => { |
| 1593 | self.pending_sandbox_setting_set = true; |
| 1594 | self.sandbox_confirm_setting_set = None; |
| 1595 | } |
| 1596 | KeyCode::Esc | KeyCode::Char('n') => { |
| 1597 | self.sandbox_confirm_setting_set = None; |
| 1598 | self.sandbox_setting_edit = None; |
| 1599 | } |
| 1600 | _ => {} |
| 1601 | } |
| 1602 | } |
| 1603 | |
| 1604 | fn handle_sandbox_setting_confirm_delete_key(&mut self, key: KeyEvent) { |
| 1605 | match key.code { |