Skip to content

Instantly share code, notes, and snippets.

View terminalsize.py
#!/usr/bin/env python
import os
import shlex
import struct
import platform
import subprocess
__func = None
def get_terminal_size():