Handle a single character input. Returns True if handled.
(self, char)
| 374 | """Handler for an ignored character.""" |
| 375 | |
| 376 | def handle(self, char): |
| 377 | """Handle a single character input. Returns True if handled.""" |
| 378 | handler = self.dispatch.get(char) |
| 379 | if handler: |
| 380 | handler() |
| 381 | return True |
| 382 | return False |
| 383 | |
| 384 | def readline(self, input): |
| 385 | """Read a line of password input with echo character support.""" |