A Perl module to interpret and handle terminal escape sequences