notcurses
notcurses copied to clipboard
in Terminal.app, terminal interrogation does not seem to consume all data and some of the results are returned as user input
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