From: Stig Bakken Date: Fri, 22 Mar 2002 11:58:22 +0000 (+0000) Subject: * ncurses note X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~1120 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd62c434e510a3e0c03b034fa9cc34fd9997207b;p=php * ncurses note --- diff --git a/pear/PEAR/Frontend/CLI.php b/pear/PEAR/Frontend/CLI.php index feabe90c91..dfbe06b6f2 100644 --- a/pear/PEAR/Frontend/CLI.php +++ b/pear/PEAR/Frontend/CLI.php @@ -41,6 +41,7 @@ class PEAR_Frontend_CLI extends PEAR parent::PEAR(); if (isset($_ENV['TERM'])) { + // XXX can use ncurses extension here, if available if (preg_match('/^(xterm|vt220)/', $_ENV['TERM'])) { $this->term['bold'] = sprintf("%c%c%c%c", 27, 91, 49, 109); $this->term['normal']=sprintf("%c%c%c", 27, 91, 109);