TextUserInterfaces.jl
TextUserInterfaces.jl copied to clipboard
The prototype for printw is wrong
The declaration for printw is
printw(str::T)
This is completely wrong. printw is like the C function printf so the first argument is the format string and it takes a bunch of other arguments, the objects to be formatted. The prototype should be something like
printw(str::T,objs::Any...)
but I have no idea if this fits with the C declaration...
Thanks for the report! I will check how it can be fixed.
I think the Julia interface with C does not allow for this case :(
https://discourse.julialang.org/t/passing-a-list-of-arguments-to-a-varargs-c-function/5271
This looks like a question to ask on discourse or as a Julia issue