-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
hol-formatter example from the book doesn't work #2794
Comments
The book targets v1.2.4 of notcurses, so if you're using the latest release YMMV. |
Since the book can have broken code - are the man pages the only up-to-date resource left? |
There's also the wiki: autogenerated api docs w/ doxygen: and demo progs in the src tree: checkout the poc directory, the demo, etc. You may also get code completion / function docs in your IDE depending on your setup. It's also probably instructive to try the demos first, and see what is/isn't broken. The code from the books is online as well, in case you're typing these in out of the book: |
I'm just trying to copy the code from the book to see if it works but it doesn't:
The code compiles with no errors:
gcc -Wall hol-formatter.c -lnotcurses -lnotcurses-core
, but when I try to executeecho "house of leaves" | ./a.out
, nothing is outputted.I've tested some executables:
notcurses-demo
,ncplayer
,notcurses-info
and they all seem to work fine:What's the problem?
P.S. I'm just complete noobie trying to use this library for my university project. I might be doing something wrong.
The text was updated successfully, but these errors were encountered: