From fd62c434e510a3e0c03b034fa9cc34fd9997207b Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Fri, 22 Mar 2002 11:58:22 +0000 Subject: [PATCH] * ncurses note --- pear/PEAR/Frontend/CLI.php | 1 + 1 file changed, 1 insertion(+) 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); -- 2.50.1