MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / handle_setting_confirm_delete_key

Method handle_setting_confirm_delete_key

crates/openshell-tui/src/app.rs:1340–1351  ·  view source on GitHub ↗
(&mut self, key: KeyEvent)

Source from the content-addressed store, hash-verified

1338 }
1339
1340 fn handle_setting_confirm_delete_key(&mut self, key: KeyEvent) {
1341 match key.code {
1342 KeyCode::Char('y') | KeyCode::Enter => {
1343 self.pending_setting_delete = true;
1344 self.confirm_setting_delete = None;
1345 }
1346 KeyCode::Esc | KeyCode::Char('n') => {
1347 self.confirm_setting_delete = None;
1348 }
1349 _ => {}
1350 }
1351 }
1352
1353 fn handle_sandboxes_key(&mut self, key: KeyEvent) {
1354 match key.code {

Callers 1

handle_keyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected