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

App::KGB::Painter -- add color to KGB notifications

Constructor

new
        my $p = App::KGB::Painter->new({ color_codes => { ... }, item_colors => { ... } } );

       color_codes is a hash with the special symbols interpreted as coloring commands by IRC clients.

       item_colors is another hash describing what colors to apply to different parts of the messages.

Description

App::KGB::Painter is a simple class encapsulating coloring of KGB messages.

Methods

colorizecategorytext
           Applies the colors of the style category to the given text.

       colorize_changechange
           Given  a change, applies colors to its files depending on the type of the change -- update, addition,
           deletion or property change.

Name

       App::KGB::Painter -- add color to KGB notifications

See Also