-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use TIOCGWINSZ to get the terminal size
This patch is derived from the port of ponysay to PonyOS, where `stty` was ported from Minix and does not have the `size` option. This approach should be faster and more widely portable and has been tested on Linux, OS X, and of course PonyOS.
- Loading branch information
Showing
1 changed file
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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