Term-Readkey

Term::ReadKey(3p) Perl Programmers Reference Guide Term::ReadKey(3p)

Term-Readkey

Term::ReadKey(3p) Perl Programmers Reference Guide Term::ReadKey(3p) # Term::ReadKey(3p) Perl Programmers Reference Guide Term::ReadKey(3p) NNAAMMEE # Term::ReadKey - A perl module for simple terminal control SSYYNNOOPPSSIISS # use Term::ReadKey; ReadMode 4; # Turn off controls keys while (not defined ($key = ReadKey(-1))) { # No key yet } print "Get key $key\n"; ReadMode 0; # Reset tty mode before exiting DDEESSCCRRIIPPTTIIOONN # Term::ReadKey is a compiled perl module dedicated to providing simple control over terminal driver modes (cbreak, raw, cooked, etc. ...