Mitchell Hashimoto 22c506b03e terminal: increase CSI max params to 24 to accept Kakoune sequence
See #5930

Kakoune sends a real SGR sequence with 17 parameters. Our previous max
was 16 so we through away the entire sequence. This commit increases the
max rather than fundamentally addressing limitations.

Practically, it took us this long to witness a real world sequence that
exceeded our previous limit. We may need to revisit this in the future,
but this is an easy fix for now.

In the future, as the comment states in this diff, we should probably
look into a rare slow path where we heap allocate to accept up to some
larger size (but still would need a cap to avoid DoS). For now,
increasing to 24 slightly increases our memory usage but shouldn't
result in any real world issues.
2025-02-22 20:43:44 -08:00
..
2024-03-26 16:14:25 -07:00
2025-02-22 16:30:57 -06:00
2024-08-16 10:49:37 -07:00
2025-01-18 22:47:18 +09:00
2024-06-24 15:16:24 -07:00
2025-02-11 16:43:50 -08:00
2024-09-26 22:00:11 -07:00
2024-10-18 08:11:11 -07:00
2025-02-14 20:50:01 -08:00
2024-08-16 14:35:10 -07:00
2022-08-18 11:42:32 -07:00
2025-02-03 15:06:59 -06:00
2025-02-14 20:50:01 -08:00
2024-08-16 10:36:10 -07:00