/** * Terminal class constructor * * return \Blink\Terminal $this */ public function __construct() { // Populate the terminals attributes $this->hasColor = ncurses_has_colors(); $this->hasIl = (bool) ncurses_has_il(); $this->hasIc = (bool) ncurses_has_ic(); $this->attributes = ncurses_termattrs(); $this->name = ncurses_termname(); $this->longName = ncurses_longname(); }
/** * @return bool */ public function hasIC() { return ncurses_has_ic(); }