Now making use of new utf8 support when using Curses::UI
[mirrors/Programs.git] / perl / curses / textentry.pl
1 #!/usr/bin/env perl
2
3 use Curses::UI;
4 my $cui = new Curses::UI(-color_support => 1, -compat => 0, -utf8 => 1);
5 my $win = $cui->add('window_id', 'Window');
6
7 my $textentry = $win->add(
8 'mytextentry', 'TextEntry'
9 );
10
11 $textentry->focus();
12 my $text = $textentry->get();
13
14 #print "TEXT: $text \n";
This page took 0.360371 seconds and 4 git commands to generate.