diff --git a/src/input_common.rs b/src/input_common.rs index e4cff7b16..473cc3563 100644 --- a/src/input_common.rs +++ b/src/input_common.rs @@ -806,6 +806,7 @@ pub trait InputEventQueuer { fn parse_csi(&mut self, buffer: &mut Vec) -> Option { let mut next_char = |zelf: &mut Self| zelf.try_readb(buffer).unwrap_or(0xff); + // The maximum number of CSI parameters is defined by NPAR, nominally 16. let mut params = [[0_u32; 4]; 16]; let mut c = next_char(self); let private_mode;