Record a key, as used from a binding. Args: key (str): The name of the key to record.
(self, key: str)
| 190 | self.pressed_keys: list[str] = [] |
| 191 | |
| 192 | async def action_record(self, key: str) -> None: |
| 193 | """Record a key, as used from a binding. |
| 194 | |
| 195 | Args: |
| 196 | key (str): The name of the key to record. |
| 197 | """ |
| 198 | self.pressed_keys.append(key) |
| 199 | |
| 200 | def all_recorded(self, marker_prefix: str = "") -> None: |
| 201 | """Were all the bindings recorded from the presses? |
no test coverage detected