From 2d31debfa0eff63fbda0374000b9fe7bc2566603 Mon Sep 17 00:00:00 2001 From: radical_honesty on #flashsupport Date: Sat, 7 Jan 2023 19:07:02 -0800 Subject: [PATCH] Evaluated proc color args {if ![llength $args] {return };if {[lindex $args 0] eq "default"} {return };set ret [color_of [lindex $args 0]]; if {[llength $args] > 1} {if {[lindex $args 1] eq "on"} {append ret \x03,[color_of [lindex $args 2]]} {append ret \x03,[color_of [lindex $args 1]]}}; return $ret} --- procs/6dd0fe8001145bec4a12d0e22da711c4970d000b | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/procs/6dd0fe8001145bec4a12d0e22da711c4970d000b b/procs/6dd0fe8001145bec4a12d0e22da711c4970d000b index 7e29a96..23f469f 100644 --- a/procs/6dd0fe8001145bec4a12d0e22da711c4970d000b +++ b/procs/6dd0fe8001145bec4a12d0e22da711c4970d000b @@ -1 +1 @@ -args {if ![llength $args] {return };if {[lindex $args 0] eq "default"} {return };set ret [color_of [lindex $args 0]]; if {[llength $args] > 1} {if {[lindex $args 1] eq "on"} {append ret ,[color_of [lindex $args 2]]} {append ret \x03,[color_of [lindex $args 1]]}}; return $ret} +args {if ![llength $args] {return };if {[lindex $args 0] eq "default"} {return };set ret [color_of [lindex $args 0]]; if {[llength $args] > 1} {if {[lindex $args 1] eq "on"} {append ret \x03,[color_of [lindex $args 2]]} {append ret \x03,[color_of [lindex $args 1]]}}; return $ret}