term

object term

Properties of the current terminal.

class Object
trait Matchable
class Any

Value members

Concrete methods

def cols: Int

Get number of columns in the current terminal, or default to 80 if the actual number cannot be determined.

Get number of columns in the current terminal, or default to 80 if the actual number cannot be determined.

def getCols(): Option[Int]

Get number of columns in the current terminal.

Get number of columns in the current terminal.

This will return None if the number of columns cannot be determined, for example on an unsupported operating system.

def getRows(): Option[Int]

Get number of rows in the current terminal.

Get number of rows in the current terminal.

This will return None if the number of rows cannot be determined, for example on an unsupported operating system.

def rows: Int

Get number of rows in the current terminal, or default to 24 if the actual number cannot be determined.

Get number of rows in the current terminal, or default to 24 if the actual number cannot be determined.