Name : perl-Tk-TextANSIColor
| |
Version : 0.17
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2024-07-13 15:17:56
|
Group : Unspecified
| Source RPM : perl-Tk-TextANSIColor-0.17-lp155.1.1.src.rpm
|
Size : 0.02 MB
| |
Packager : https://www_suse_com/
| |
Summary : Tk::Text widget with support for ANSI color escape codes
|
Description :
This widget extends the capabilities of the standard Tk::Text widget by adding support for ANSI color escape codes. When these escape codes are detected they are replaced by equivalent tags.
This widget was developed to solve the problem associated with driving a scrolling status display on a GUI as well as a status display going to an Xterm without having to know whether an xterm or Tk window is receiving the status information. Mainly used in conjunction with a tied filehandle:
$text = $MW->TextANSIColor->pack; tie *TEXT, \"Tk::TextANSIColor\", $text;
$info = colored(\"Some information\ \", \'red\');
print TEXT $info print STDOUT $info
Currently the Term::ANSIColor module is required in order to decode the escape codes (and probably to generate them in the first place).
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.5/noarch |