@@ -19,14 +19,10 @@
20-- vty assumes 7 bit mode. Which is the default AFAIK.
20-- vty assumes 7 bit mode. Which is the default AFAIK.
22−-- 1. ESC individually: ESC byte, no bytes for control-seq-period,
22+-- 1. ESC individually: ESC byte, no bytes for 'singleEscPeriod'.
23−-- no bytes for meta-combo-period.
25−-- 2. control keys that contain ESC in their byte sequence: ESC byte, bytes read within
24+-- 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.
25+-- 'singleEscPeriod' are part of the sequence up until the next valid input block.
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.
31-- If the current runtime is the threaded runtime then the terminal's VMIN and VTIME parameters can
27-- If the current runtime is the threaded runtime then the terminal's VMIN and VTIME parameters can
32-- be applied to implement the above rules.
28-- be applied to implement the above rules.
@@ -66,6 +62,9 @@ inputForCurrentTerminal config = do
67-- | Set up the terminal attached to the given Fd for input. Returns a 'Input'.
63-- | Set up the terminal attached to the given Fd for input. Returns a 'Input'.
65+-- The table used to determine the 'Events' to produce for the input bytes comes from
66+-- 'classifyTableForTerm'.
69-- The terminal is modified as follows:
68-- The terminal is modified as follows:
71-- * IXON disabled
70-- * IXON disabled