diff --git a/compositing_ansi.png b/compositing_ansi.png new file mode 100644 index 00000000..0be86187 Binary files /dev/null and b/compositing_ansi.png differ diff --git a/src/modules/textblock-999999.0a1.0.tm b/src/modules/textblock-999999.0a1.0.tm index af978d8c..40e60f9c 100644 --- a/src/modules/textblock-999999.0a1.0.tm +++ b/src/modules/textblock-999999.0a1.0.tm @@ -5080,6 +5080,19 @@ tcl::namespace::eval textblock { # >} .= {lmap v $data w $data2 {val "[overtype::right $col1 $v][overtype::right $col2 $w]"}} {| # >} punk::lib::list_as_lines punk . lhs][a]\n\n[a+ rgb#FFFF00][>punk . rhs][a] + set ipunks [overtype::renderspace -width [textblock::width $punks] [punk::ansi::enable_inverse]$punks] + set testblock [textblock::testblock 15 rainbow] + set contents $ansi\n[textblock::join -- " " $table " " $punks " " $testblock " " $ipunks " " $punks] + set framed [textblock::frame -type arc -title [a+ cyan]Compositing[a] -subtitle [a+ red]ANSI[a] -ansiborder [a+ web-orange] $contents] + } + + proc example {args} { set opts [tcl::dict::create -forcecolour 0] foreach {k v} $args {