def send(colors, cache_dir=CACHE_DIR, to_send=True, vte_fix=False):
if OS == "<STR_LIT>":<EOL><INDENT>tty_pattern = "<STR_LIT>"<EOL><DEDENT>else:<EOL><INDENT>tty_pattern = "<STR_LIT>"<EOL><DEDENT>sequences = create_sequences(colors, vte_fix)<EOL>if to_send:<EOL><INDENT>for term in glob.glob(tty_pattern):<EOL><INDENT>util.save_file(sequences, term)<EOL><DEDENT><DEDENT>util.save_file(sequences, os.path.join(cache_dir, "<STR_LIT>"))<EOL>logging.info("<STR_LIT>")<EOL>
Send colors to all open terminals.