Like handle, but ignores global bindings. Returns the key if it has not been handled, or None.
(self, context: str, key: str)
| 165 | return key |
| 166 | |
| 167 | def handle_only(self, context: str, key: str) -> str | None: |
| 168 | """ |
| 169 | Like handle, but ignores global bindings. Returns the key if it has |
| 170 | not been handled, or None. |
| 171 | """ |
| 172 | b = self.get(context, key) |
| 173 | if b: |
| 174 | self.executor(b.command) |
| 175 | return None |
| 176 | return key |
| 177 | |
| 178 | |
| 179 | keyAttrs = { |