-
Notifications
You must be signed in to change notification settings - Fork 192
Open
Labels
ideaProposition of an idea and opening an issue to discuss itProposition of an idea and opening an issue to discuss it
Description
Motivation
Fortran is often used to develop console backend programs. In certain scenarios, there may be a need to obtain the terminal size to display content appropriately.
Similar to Python, this routine is suitable to be placed in stdlib_system
(OS, Operating System).
Prior Art
- C/C++:
- Unix/Linux: Obtain the
winsize
structure through theioctl
system call and theTIOCGWINSZ
command; - Windows: Use the
GetConsoleScreenBufferInfo
API to obtain console buffer information.
- Unix/Linux: Obtain the
- os.get_terminal_size in Python.
Additional Information
No response
Metadata
Metadata
Assignees
Labels
ideaProposition of an idea and opening an issue to discuss itProposition of an idea and opening an issue to discuss it