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

COLOR_PAIR takes i16 instead of i32 #130

Open
gyscos opened this issue Jun 13, 2017 · 0 comments
Open

COLOR_PAIR takes i16 instead of i32 #130

gyscos opened this issue Jun 13, 2017 · 0 comments

Comments

@gyscos
Copy link
Collaborator

gyscos commented Jun 13, 2017

ll::COLOR_PAIR takes c_int, which resolves to i32. But ncurses::COLOR_PAIR somehow takes a i16 (and converts it internally to a i32).
It seems having ncurses::COLOR_PAIR take a i32 would be much simpler.

EDIT: Aaaaaaah damn ncurses and its incoherent type usage! I don't know what should be done anymore :(

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

1 participant