Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter CSI 6n answer in input buffer #856

Open
HuskarTang opened this issue Nov 21, 2024 · 1 comment
Open

filter CSI 6n answer in input buffer #856

HuskarTang opened this issue Nov 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@HuskarTang
Copy link

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 HuskarTang added the enhancement New feature or request label Nov 21, 2024
@fdncred
Copy link
Collaborator

fdncred commented Nov 21, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants