Class MutableTerminalSize
java.lang.Object
net.rubygrapefruit.platform.internal.MutableTerminalSize
- All Implemented Interfaces:
TerminalSize
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MutableTerminalSize
public MutableTerminalSize()
-
-
Method Details
-
getCols
public int getCols()Description copied from interface:TerminalSize
Returns the number of character columns in the terminal.- Specified by:
getCols
in interfaceTerminalSize
-
getRows
public int getRows()Description copied from interface:TerminalSize
Returns the number of character rows in the terminal.- Specified by:
getRows
in interfaceTerminalSize
-