This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| import shlex | |
| import struct | |
| import platform | |
| import subprocess | |
| def get_terminal_size(): | |
| """ getTerminalSize() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /**************************************************************************** | |
| * | |
| * DirectInput keyboard scan codes | |
| * | |
| ****************************************************************************/ | |
| #define DIK_ESCAPE 0x01 | |
| #define DIK_1 0x02 | |
| #define DIK_2 0x03 | |
| #define DIK_3 0x04 | |
| #define DIK_4 0x05 |
NewerOlder