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

does it need ncurses?? #138

Open
walkthetalk opened this issue Apr 18, 2024 · 1 comment
Open

does it need ncurses?? #138

walkthetalk opened this issue Apr 18, 2024 · 1 comment
Labels

Comments

@walkthetalk
Copy link

Describe the bug

in README, it said without external dependency of ncurses, but in FAQ, it said need libncurses, so which one is right?

@gansm
Copy link
Owner

gansm commented Apr 18, 2024

It seems a bit confusing. FINAL CUT only needs the termcap library to determine the device-independent terminal capabilities.

#include <term.h> // termcap

The termcap library is available as a standalone library (libtermcap) or bundled with ncurses (libtinfo).

FINAL CUT does not call any ncurses functions with libtinfo. It has its own cursor optimization and window management. Therefore, libfinal is only dynamically linked with libtinfo and not with libncurses or libncursesw.
 

Learn more about the termcap library:

@gansm gansm added question and removed bug labels Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants