finalcut icon indicating copy to clipboard operation
finalcut copied to clipboard

does it need ncurses??

Open walkthetalk opened this issue 1 year ago • 1 comments
trafficstars

Describe the bug

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

walkthetalk avatar Apr 18 '24 07:04 walkthetalk

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 avatar Apr 18 '24 20:04 gansm