(self, fd: int, encoding: str, ti: TermInfo)
| 70 | |
| 71 | class EventQueue(BaseEventQueue): |
| 72 | def __init__(self, fd: int, encoding: str, ti: TermInfo) -> None: |
| 73 | keycodes = get_terminal_keycodes(ti) |
| 74 | if os.isatty(fd): |
| 75 | backspace = tcgetattr(fd)[6][VERASE] |
| 76 | keycodes[backspace] = "backspace" |
| 77 | BaseEventQueue.__init__(self, encoding, keycodes) |
nothing calls this directly
no test coverage detected