in reply to Win32::Console::ANSI not working
The code above does work, and it displays cyan text and then bright white text. Why the ANSI codes stopped working is beyond me. It could have something to do with a Windows 8.1 update that made it stop working?my $console_handle = Win32::Console->new(STD_OUTPUT_HANDLE()); $console_handle->Attr($FG_CYAN); print "Multi-Edit 2008\n"; $console_handle->Attr($FG_WHITE); print "Normal text again\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Win32::Console::ANSI not working
by BrowserUk (Patriarch) on Aug 23, 2015 at 14:08 UTC |