Open fatteneder opened 1 week ago
Are you suggesting to use this when building the Ncurses binaries? The documentation states "The program will run more slowly", which could be a contraindication. Or would this be a flag that's only used when generating the bindings?
Sorry, I was only referring to the binding generation, i.e. add push!(args, "-DNCURSES_NOMACROS")
to gen/generator.jl
.
These functions appear to be already be included in the lib, and so its just a matter of generating the bindings and calling them. I have no idea how much performance impact that would have, but the list of generated bindings would be more complete, I think.
That sounds fine. Calling Ncurses from Julia will always have a bit more overhead and I'm not worried about this.
While trying to understand how to implement
mvwaddstr
I stumbled upon theNCURSES_NOMACROS
flag.When generating the bindings locally with this flag it seems to generate most of the
epilogue.jl
additions and more (e.g. alsomvwaddstr
).Is there any reason to avoid that flag, or should I open a PR?