You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So basically I want to create a window border with the █ character. I've read in old issues here that addch() doesn't work because it calls a non-wide char using function in the backend so I guess it's the same for border(). Does that mean I have to print the border tediously using addstr() or is there a better way?
And to make it more of an issue and less of a support question, I'm not sure if ncurses and pdcurses have wide char border functions but since Rust is so unicode-oriented I guess pancurses should call wide functions whenever possible
The text was updated successfully, but these errors were encountered:
@GOKOP Thanks.
I meanwhile found that the limitation of border is caused by the underlying C function of ncurses, which means a unicode implementation can't do a simple call to the C-lib and would require a similar solution as you did.
So basically I want to create a window border with the
█
character. I've read in old issues here thataddch()
doesn't work because it calls a non-wide char using function in the backend so I guess it's the same forborder()
. Does that mean I have to print the border tediously usingaddstr()
or is there a better way?And to make it more of an issue and less of a support question, I'm not sure if ncurses and pdcurses have wide char border functions but since Rust is so unicode-oriented I guess pancurses should call wide functions whenever possible
The text was updated successfully, but these errors were encountered: