Handle a request to escape out of the command palette.
(self)
| 1251 | self.app.post_message(CommandPalette.OptionHighlighted(highlighted_event=event)) |
| 1252 | |
| 1253 | def _action_escape(self) -> None: |
| 1254 | """Handle a request to escape out of the command palette.""" |
| 1255 | self._cancel_gather_commands() |
| 1256 | self.app.post_message(CommandPalette.Closed(option_selected=False)) |
| 1257 | self.dismiss() |
| 1258 | |
| 1259 | def _action_command_list(self, action: str) -> None: |
| 1260 | """Pass an action on to the [`CommandList`][textual.command.CommandList]. |
nothing calls this directly
no test coverage detected