AnyEvent-Tickit
view release on metacpan or search on metacpan
t/02input.t view on Meta::CPAN
#!/usr/bin/perl
use strict;
use warnings;
# We need a UTF-8 locale to force libtermkey into UTF-8 handling, even if the
# system locale is not
# We also need to fool libtermkey into believing TERM=xterm even if it isn't,
# so we can reliably control it with fake escape sequences
BEGIN {
$ENV{LANG} .= ".UTF-8" unless $ENV{LANG} =~ m/\.UTF-8$/;
$ENV{TERM} = "xterm";
}
use Test::More;
use AnyEvent;
use AnyEvent::Util qw( portable_pipe );
( run in 0.423 second using v1.01-cache-2.11-cpan-c21f80fb71c )