#!/bin/bash # # @(#) ターミナルが256色使えるかどうか確認するスクリプトです # # Author: # 844196 (@84____) # # License: # WTFPL 2.0 # Y="\033[48;5;236m \033[m" J="\033[48;5;137m \033[m" U="\033[48;5;180m \033[m" function _CursorInvisible() { trap "clear; tput cnorm;" EXIT trap "clear; tput cnorm; exit 1" SIGINT tput sc; tput cup 0 0; tput civis } function _Sleep() { local t="${@}" if $(which sleepenh >/dev/null 2>&1); then