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
Thanks for reporting this. I can't help much, unfortunately, since I haven't used Rust or ncurses in a couple of years. In general, I recommend writing the ncurses code in C to verify everything works there. Then port it to Rust (which is mostly 1:1, since ncurses-rs is so light) and it should remain the same. In cases where behavior changes, take a look at the ncurses wrapping of the C fn to see if there's something wrong. As mentioned, each fn wrapper is just a couple of lines, so it shouldn't be much to take in.
We'll certainly leave this open though, until it's resolved.
Here is a little program I've written:
This works fine with keyboard input but when I redirect input from a file or pipe from another program, nothing is output!
If I remove
printw
and useprintln!
everything works fine.In short, these won't work:
The text was updated successfully, but these errors were encountered: