You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
To ensure a uniform output, the app must have a self-imposed limit of how wide it can be based on the terminal it is in.
Description
Using ioctl, obtain the width of the terminal window in Linux and return it multiplied by a scaling factor of 0.6. If the terminal width is less than 50 characters wide, return the width of the terminal itself. An example of how to get the terminal width in Linux is included below
Purpose
To ensure a uniform output, the app must have a self-imposed limit of how wide it can be based on the terminal it is in.
Description
Using ioctl, obtain the width of the terminal window in Linux and return it multiplied by a scaling factor of 0.6. If the terminal width is less than 50 characters wide, return the width of the terminal itself. An example of how to get the terminal width in Linux is included below
Resources
https://stackoverflow.com/questions/23369503/get-size-of-terminal-window-rows-columns
The text was updated successfully, but these errors were encountered: