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

^SH-PROMPT: expectation not working because of control sequences #50

Open
davidmartos96 opened this issue Sep 1, 2023 · 4 comments
Open

Comments

@davidmartos96
Copy link

I'm having an issue running the examples. It looks like the shell is sending additional characters that don't match the expectation.
Should these be ignored?

\e[?2004h and \e[?2004l are known sequences, but I'm not too familiar with them.

image

@hawk
Copy link
Owner

hawk commented Sep 4, 2023 via email

@davidmartos96
Copy link
Author

@hawk That worked, thanks. Would there be a way to use that setting only when running lux?
I would prefer not to change the defaults on my system.

Do you think it would still make sense to make this a configuration on lux, or ignore those sequences?

Also, isn't this something that should affect more people? I didn't change any of the input settings and this fails with bash, zsh and fish. Tried on different terminals as well (Wezterm, Gnome terminal and Xterm)

@hawk
Copy link
Owner

hawk commented Sep 5, 2023 via email

@davidmartos96
Copy link
Author

Ok thank you!

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

No branches or pull requests

2 participants