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:TerminalSizeReturns the number of character columns in the terminal.- Specified by:
getColsin interfaceTerminalSize
-
getRows
public int getRows()Description copied from interface:TerminalSizeReturns the number of character rows in the terminal.- Specified by:
getRowsin interfaceTerminalSize
-