@classmethod<EOL><INDENT>def from_tty_io_control(cls):<DEDENT>
with open(os.ctermid(), "<STR_LIT:rb>") as fobj:<EOL><INDENT>return cls.from_io_control(fobj)<EOL><DEDENT>
Calls cls.from_io_control for the tty file descriptor.