reedline
reedline copied to clipboard
filter CSI 6n answer in input buffer
in the case nushell behind a 4A platform which had some Security Monitoring Feature. The SMF service may send some CSI 6n request to get the cursor position, and then TTY answer them into Input buffer. A screenshot show as bellow:
I think, those answers should be drop to keep input buffer's correctness
Nushell doesn't filter any escape sequences that I know of. This is entirely handled with crossterm. However, that doesn't mean we don't have a bug with our implementation of crossterm. We could?