def set_color(bool)
    b = bool ? true : false
    deb "Setting color mode to: #{yellow bool} --> #{white b.to_s}"
    b = false if bool.to_s.match( /(off|false)/ )
    deb "Setting color mode to: #{yellow bool} --> #{white b.to_s}"
    $colors_active = bool
  end
def set_color(bool)
    b = bool ? true : false
    deb "Setting color mode to: #{yellow bool} --> #{white b.to_s}"
    b = false if bool.to_s.match( /(off|false)/ )
    deb "Setting color mode to: #{yellow bool} --> #{white b.to_s}"
    $colors_active = bool
  end
TODO support a block (solo dentro l blocco fai il nocolor)