You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
350 B
12 lines
350 B
4 months ago
|
package require punk::ansi
|
||
|
namespace eval colourtest {
|
||
|
namespace import ::punk::ansi::*
|
||
|
puts stdout "[a+ red bold]red bold on stdout[a]"
|
||
|
puts stderr "[a+ red bold]red bold on stderr[a]"
|
||
|
puts stdout "[a+ green bold]green bold on stdout[a]"
|
||
|
puts stderr "[a+ green bold]green bold on stderr[a]"
|
||
|
puts stdout "-done-"
|
||
|
}
|
||
|
return 1
|
||
|
|