reedline icon indicating copy to clipboard operation
reedline copied to clipboard

filter CSI 6n answer in input buffer

Open HuskarTang opened this issue 1 year ago • 1 comments

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:

bug

I think, those answers should be drop to keep input buffer's correctness

HuskarTang avatar Nov 21 '24 13:11 HuskarTang

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?

fdncred avatar Nov 21 '24 13:11 fdncred