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

insnstr prints garbage text with big n #2

Closed
dhnam opened this issue Sep 14, 2019 · 2 comments
Closed

insnstr prints garbage text with big n #2

dhnam opened this issue Sep 14, 2019 · 2 comments

Comments

@dhnam
Copy link

dhnam commented Sep 14, 2019

tried

stdscr.insnstr(0, 0, "test", 10)

gave me

test^@^@^@^@^@^@

While I expected something like shown in this stackoverflow result

code

window.insnstr(0, 0, "insnstr", 80)

result
normal

@ulfalizer
Copy link
Contributor

Think I traced it down to a PDCurses issue: wmcbrine/PDCurses#72

ulfalizer added a commit that referenced this issue Sep 16, 2019
To get commit 229a48d ("Update PDCurses to b12c4a5") in, which fixes the
insnstr() issue in
#2.

Also switch to a proper semantic versioning format, with three numbers
(major/minor/patch).
@ulfalizer
Copy link
Contributor

Fixed by updating PDCurses to get wmcbrine/PDCurses@b12c4a5 in.

gschizas added a commit to giorgosioak/windows-curses that referenced this issue Oct 22, 2023
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