The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::sdif::autocolor::Apple_Terminal

SYNOPSIS

sdif -Mautocolor::Apple_Terminal

DESCRIPTION

This is a module for sdif(1) command to set default option according to terminal background color taken by AppleScript. Terminal brightness is caliculated from terminal background RGB values by next equation.

    Y = 0.30 * R + 0.59 * G + 0.11 * B

When the result is greater than 0.5, set --light option, otherwise --dark. You can override default setting in your ~/.sdifrc.

SEE ALSO

App::sdif::autocolor, App::sdif::colors