Overview of ncurses base modules
masterThe functions located in the base/ directory of ncurses constitute the generic, device-independent modules of the library. These modules provide core functionality that is not tied to specific terminal types.
Developer Note: When working with or extending these modules, they are designed to be decoupled from terminal-specific data. As a rule, these modules should not depend directly on term.h references or associated terminfo functions and variables.