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 int
getCols()
Returns the number of character columns in the terminal.int
getRows()
Returns the number of character rows in the terminal.
-
-
-
Method Detail
-
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
-
-