Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Test2::Harness::Util::Term - Terminal utilities for Test2::Harness

Authors

       Chad Granum <exodist@cpan.org>

Description

       This module provides information about the terminal in which the harness is running.

Exports

       $bool = USE_ANSI_COLOR()
           True if Term::ANSIColor is available and usable.

Maintainers

       Chad Granum <exodist@cpan.org>

Name

       Test2::Harness::Util::Term - Terminal utilities for Test2::Harness

Source

       The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/.

Synopsis

           use Test2::Harness::Util::Term qw/USE_ANSI_COLOR/;

           if (USE_ANSI_COLOR) {
               ...
           }
           else {
               ...
           }

See Also