logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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