One Hat Cyber Team
Your IP :
216.73.216.240
Server IP :
162.240.106.28
Server :
Linux server.ganesand.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64
Server Software :
Apache
PHP Version :
7.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
perl-Curses-UI-0.9609
/
examples
/
Edit File:
demo-color
#!/usr/bin/perl -w use strict; use warnings; #use diagnostics; use FindBin; use lib "$FindBin::RealBin/../lib"; use Curses::UI; my $cui = new Curses::UI(-color_support => 1, -clear_on_exit => 0); my $co = $Curses::UI::color_object; my @colors = $co->get_colors(); my @labels; my $mainw = $cui->add('screen', 'Window'); for my $i (0..$ENV{LINES} - 1) { my $label =$mainw->add("label$i",'Label', -fg => $colors[int rand @colors], -bg => $colors[int rand @colors], -text => " " x $i . "Curses::UI::Color", -paddingspaces => 1, -width => -1, -y => $i); push @labels, $label; } $cui->draw(); while (1) { my $nr = int rand @labels; $labels[$nr]->set_color_fg($colors[int rand @colors]); $labels[$nr]->set_color_bg($colors[int rand @colors]); $cui->draw(); }
Simpan