We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On windows, we don't necessarily have tput.
tput
Readline.get_screen_size seems to work well enough. Readline.get_screen_size[0] gets the width.
Readline.get_screen_size
Readline.get_screen_size[0]
The text was updated successfully, but these errors were encountered:
IO.console.winsize works too. Might be better if you want to use a builtin that way?
IO.console.winsize
Sorry, something went wrong.
Merge pull request #30 from ariccio/add-console-winsize
8d015dd
swap tput for IO.console.winsize: Fix issue #29
No branches or pull requests
On windows, we don't necessarily have
tput
.Readline.get_screen_size
seems to work well enough.Readline.get_screen_size[0]
gets the width.The text was updated successfully, but these errors were encountered: