@@ -19,14 +19,10 @@
1919--
2020-- vty assumes 7 bit mode. Which is the default AFAIK.
2121--
22−-- 1. ESC individually: ESC byte, no bytes for control-seq-period,
23−-- no bytes for meta-combo-period.
22+-- 1. ESC individually: ESC byte, no bytes for 'singleEscPeriod'.
2423--
25−-- 2. control keys that contain ESC in their byte sequence: ESC byte, bytes read within
26−-- control-seq-period are part of the sequence. Up until the next valid input block.
27−--
28−-- 3. ESC used as meta in a key combination: ESC byte, no other bytes read within
29−-- control-seq-period. Bytes up until next valid input block are the input events plus meta.
24+-- 2. control keys that contain ESC in their byte sequence: ESC byte. Bytes read within
25+-- 'singleEscPeriod' are part of the sequence up until the next valid input block.
3026--
3127-- If the current runtime is the threaded runtime then the terminal's VMIN and VTIME parameters can
3228-- be applied to implement the above rules.
@@ -66,6 +62,9 @@ inputForCurrentTerminal config = do
6662
6763-- | Set up the terminal attached to the given Fd for input. Returns a 'Input'.
6864--
65+-- The table used to determine the 'Events' to produce for the input bytes comes from
66+-- 'classifyTableForTerm'.
67+--
6968-- The terminal is modified as follows:
7069--
7170-- * IXON disabled