Finding out information about a terminal
You can find out information about both the characteristics of the terminal and its current state.
The data object points to the IccTerminalData object that contains information about the characteristics of the terminal. The methods in IccTerminalData allow you to discover, for example, the height of the screen or whether the terminal supports Erase Write Alternative. Some of the methods in IccTerminal also give you information about characteristics, such as how many lines a screen holds.
Other methods give you information about the current state of the terminal. These include line , which returns the current line number, and cursor , which returns the current cursor position.