Extend 256-scrpit fallback ttys

This commit is contained in:
Pavel Pertsev
2014-08-23 01:26:43 +04:00
parent 82f323a5d7
commit de2d8aba76

View File

@@ -77,7 +77,10 @@ if [ "${TERM%%-*}" = "screen" ]; then
printf "\033P\033]4;130;rgb:af/3a/03\007\033\\"
fi
else
if [ $TERM != "linux" ]; then
if [ "$TERM" = "linux" ] || [ "$TERM" = "vt100" ] || [ "$TERM" = "vt220" ]; then
exit 1
fi
printf "\033]4;236;rgb:32/30/2f\033\\"
printf "\033]4;234;rgb:1d/20/21\033\\"
@@ -114,5 +117,4 @@ else
printf "\033]4;96;rgb:8f/3f/71\033\\"
printf "\033]4;66;rgb:42/7b/58\033\\"
printf "\033]4;130;rgb:af/3a/03\033\\"
fi
fi