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

in Terminal.app, terminal interrogation does not seem to consume all data and some of the results are returned as user input #2812

Open
tstack opened this issue Dec 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tstack
Copy link

tstack commented Dec 5, 2024

After a call to notcurses_core_init(), subsequent calls to notcurses_get_nblock() return garbage, even though there has been no keyboard input. The garbage looks like this:

;rgb:5f5f/afaf/afafG4;147;rgb:afaf/afaf/ffffG4;218;rgb:ffff/afaf/d7d7G

I'm guessing this is some of the results of querying the terminal for the palette?

I am not seeing this happening in iTerm2 on the same system.

Please include the following data:

  • export | egrep 'LANG|LC_CTYPE|TERM'
LANG=en_US.UTF-8
TERM=xterm-256color
TERM_PROGRAM=Apple_Terminal
TERM_PROGRAM_VERSION=455
TERM_SESSION_ID=DB649927-96C6-45E0-929B-12D4B33E2AD6
  • notcurses version (available from notcurses-demo i)

top-of-tree

  • terminal name + version

Terminal.app v2.14

@tstack tstack added the bug Something isn't working label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant