/[ascend]/trunk/ascend/general/color.c
ViewVC logotype

Diff of /trunk/ascend/general/color.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2783 by jpye, Wed Dec 12 06:04:23 2012 UTC revision 2784 by jpye, Mon Jun 23 03:18:45 2014 UTC
# Line 11  Line 11 
11      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12      GNU General Public License for more details.      GNU General Public License for more details.
13    
14      You should have received a copy of the GNU General Public License      You should have received a copy of the GNU General Public License
15      along with this program.  If not, see <http://www.gnu.org/licenses/>.      along with this program.  If not, see <http://www.gnu.org/licenses/>.
16  *//* @file  *//* @file
17      Platform-independent console colour output.      Platform-independent console colour output.
# Line 45  static int color_test(){ Line 45  static int color_test(){
45          }          }
46  # else  # else
47          if(term!=NULL){          if(term!=NULL){
48              if(strcmp(term,"xterm")==0){              if(strcmp(term,"xterm")==0 || strcmp(term,"xterm-256color")==0){
49                  /* MSYS (rxvt), putty, xterm. */                  /* MSYS (rxvt), putty, xterm. */
50                  use_xterm_color=1;                  use_xterm_color=1;
51              }else{              }else{

Legend:
Removed from v.2783  
changed lines
  Added in v.2784

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22