| 151 | |
| 152 | |
| 153 | class _OptionList(OptionList): |
| 154 | BINDINGS: ClassVar = [ |
| 155 | Binding('down', 'cursor_down', 'Down', show=True), |
| 156 | Binding('up', 'cursor_up', 'Up', show=True), |
| 157 | Binding('j', 'cursor_down', 'Down', show=False), |
| 158 | Binding('k', 'cursor_up', 'Up', show=False), |
| 159 | ] |
| 160 | |
| 161 | @override |
| 162 | def on_mount(self) -> None: |
| 163 | _translate_bindings(self._merged_bindings, self._bindings) |
| 164 | |
| 165 | |
| 166 | class OptionListScreen(BaseScreen[ValueT]): |