Qore Programming Language

  • Increase font size
  • Default font size
  • Decrease font size

getch example

E-mail Print PDF

This script demonstrates the use of the TermIOS class to get and set terminal settings through the File::getTerminalAttributes() and File::setTerminalAttributes() methods. 

In the case of this script the stdout constant is used (which is a constant of class File).

here is the source: getch.q