TerminalSize
public class MutableTerminalSize extends Object implements TerminalSize
Constructor | Description |
---|---|
MutableTerminalSize() |
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.
|
public int getCols()
TerminalSize
getCols
in interface TerminalSize
public int getRows()
TerminalSize
getRows
in interface TerminalSize