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

export or not the names from NCurses #21

Closed
jmichel7 opened this issue Nov 21, 2024 · 1 comment
Closed

export or not the names from NCurses #21

jmichel7 opened this issue Nov 21, 2024 · 1 comment

Comments

@jmichel7
Copy link
Contributor

Apparently, you stopped exporting most names from NCurses in the commit 3 months ago. I do not know why, since if one wants to write an NCurses program it is convenient to have the names of the NCurses functions available. But the point of this issue is that you have not been consistent, the constants in the file ncurses_attributes.jl are still exported.

@ronisbr
Copy link
Owner

ronisbr commented Nov 26, 2024

I select this path to avoid poluting the namespace. Hence, all the functions must be called as NCurses.<function name>. This approach is better IMHO.

@ronisbr ronisbr closed this as completed Nov 26, 2024
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