hack for kitty a bit earlier

This commit is contained in:
Anton Volnuhin 2024-05-21 17:41:03 +03:00
parent 2942c925ff
commit 8efe18e585

View File

@ -13,6 +13,11 @@ Yello='\033[0;33m' # Blue
Gray='\033[38;5;7m' # Light Gray Gray='\033[38;5;7m' # Light Gray
NC='\033[0m' # No Color NC='\033[0m' # No Color
#short-term hack for kitty in early OSes
if [ "$TERM" == "xterm-kitty" ];then
export TERM="xterm-256color"
fi
#Setup #Setup
TERM_WIDTH_BASE=$(tput cols) TERM_WIDTH_BASE=$(tput cols)
LINES=$(tput lines) LINES=$(tput lines)
@ -20,10 +25,6 @@ USER=$(whoami)
STEP=1 STEP=1
cd cd
#short-term hack for kitty in early OSes
if [ "$TERM" == "xterm-kitty" ];then
export TERM="xterm-256color"
fi
echo -e " echo -e "