Document max CSI parameter count

This commit is contained in:
Mahmoud Al-Qudsi 2024-10-24 10:36:00 -05:00
parent 21860cbd39
commit daa2f2d023

View File

@ -806,6 +806,7 @@ pub trait InputEventQueuer {
fn parse_csi(&mut self, buffer: &mut Vec<u8>) -> Option<Key> {
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;