Reads one key press from stdin with no echo. Returns: The key name, None for EOF, for function keys, otherwise a character.
(self)
| 445 | return '{csi}{codes}m'.format(csi=self._csi, codes=';'.join(codes)) |
| 446 | |
| 447 | def GetRawKey(self): |
| 448 | """Reads one key press from stdin with no echo. |
| 449 | |
| 450 | Returns: |
| 451 | The key name, None for EOF, <KEY-*> for function keys, otherwise a |
| 452 | character. |
| 453 | """ |
| 454 | return self._get_raw_key[0]() |
| 455 | |
| 456 | def GetTermIdentifier(self): |
| 457 | """Returns the TERM environment variable for the console. |
no outgoing calls
no test coverage detected