Last 12 weeks · 0 commits
4 of 6 standards met
I'm curious what use case you had where the terminal size was needed but not available, such as in a non-interactive shell? BTW, you can use the POSIX standard utility , on everything but Windows from what I can tell, to get the terminal size. Subwindow of KiTTY If you just want the cols iTerm2 tmux in iTerm2 Apple Terminal
Repository: sindresorhus/macos-terminal-size. Description: Get the terminal window size on macOS Stars: 43, Forks: 5. Primary language: C. Languages: C (57.2%), Shell (42.8%). License: MIT. Topics: c, columns, macos, rows, size, terminal, tty. Latest release: v1.0.0 (6y ago). Open PRs: 0, open issues: 0. Last activity: 2y ago. Community health: 71%. Top contributors: sindresorhus, Qix-, leonardodino, rvagg.