Class MutableTerminalSize
- java.lang.Object
-
- net.rubygrapefruit.platform.internal.MutableTerminalSize
-
- All Implemented Interfaces:
TerminalSize
public class MutableTerminalSize extends java.lang.Object implements TerminalSize
-
-
Constructor Summary
Constructors Constructor Description MutableTerminalSize()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCols()Returns the number of character columns in the terminal.intgetRows()Returns the number of character rows in the terminal.
-
-
-
Method Detail
-
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
-
-