1Term::Completion::_readUkseeyr(3C)ontributed Perl DocumeTnetramt:i:oCnompletion::_readkey(3)
2
3
4

NAME

6       Term::Completion::_readkey - utility package for Term::Completion using
7       Term::ReadKey
8

DESCRIPTION

10       This utility package contains few methods that are required for
11       Term::Completion to put the terminal in "raw" mode and back.  This
12       package uses Term::ReadKey to accomplish this, which should be portable
13       across many systems.
14
15   Methods
16       set_raw_tty()
17           Uses Term::ReadKey's "ReadMode 4" to set the terminal into "raw"
18           mode, i.e. switch off the meaning of any control characters like
19           CRTL-C etc. Also the echo of characters is switched off, so that
20           the program has full control of what is typed and displayed.
21
22           Uses the "in" field of the Term::Completion object to get the input
23           file handle.
24
25       reset_tty()
26           Resets the terminal to its previous state, using "ReadMode 0".
27
28       get_key()
29           Reads one byte from the input handle. Uses "ReadKey".
30
31       get_term_size()
32           Determine the terminal size with "GetTerminalSize" and return the
33           list of columns and rows (two integers).
34

AUTHOR

36       Marek Rouchal <marekr@cpan.org>
37
39       Copyright (c) 2009, Marek Rouchal. All Rights Reserved.  This module is
40       free software. It may be used, redistributed and/or modified under the
41       same terms as Perl itself.
42

SEE ALSO

44       Term::ReadKey
45
46
47
48perl v5.30.1                      2020-01-30     Term::Completion::_readkey(3)
Impressum