Open browser to documentation index.
(event: KeyPressEvent)
| 70 | |
| 71 | @kb.add('f1') |
| 72 | def _(event: KeyPressEvent) -> None: |
| 73 | """Open browser to documentation index.""" |
| 74 | _logger.debug('Detected F1 key.') |
| 75 | webbrowser.open_new_tab(DOCS_URL) |
| 76 | prompt_toolkit.application.run_in_terminal(print_f1_help) |
| 77 | safe_invalidate_display(event.app) |
| 78 | |
| 79 | @kb.add('escape', '[', 'P') |
| 80 | def _(event: KeyPressEvent) -> None: |
nothing calls this directly
no test coverage detected