From deff47b6b3006a42d5cc2b269b783ef49beb512d Mon Sep 17 00:00:00 2001 From: einwickler <29920253+einwickler@users.noreply.github.com> Date: Thu, 25 Nov 2021 17:10:06 +0100 Subject: [PATCH] themes/rana: Fix the cursor position issue by bare ANSI sequences (Fix #248) --- themes/rana/rana.theme.sh | 50 +++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/themes/rana/rana.theme.sh b/themes/rana/rana.theme.sh index f70abcc..ce76d0d 100644 --- a/themes/rana/rana.theme.sh +++ b/themes/rana/rana.theme.sh @@ -32,37 +32,37 @@ #*color7: #E5E5E5 # ----------------------------------------------------------------- DEF COLOR -RCol='\e[0m' # Text Reset +RCol='\[\e[0m\]' # Text Reset # Regular -Bla='\e[0;30m'; -Red='\e[0;31m'; -Gre='\e[0;32m'; -Yel='\e[0;33m'; -Blu='\e[0;34m'; -Pur='\e[0;35m'; -Cya='\e[0;36m'; -Whi='\e[0;37m'; +Bla='\[\e[0;30m\]'; +Red='\[\e[0;31m\]'; +Gre='\[\e[0;32m\]'; +Yel='\[\e[0;33m\]'; +Blu='\[\e[0;34m\]'; +Pur='\[\e[0;35m\]'; +Cya='\[\e[0;36m\]'; +Whi='\[\e[0;37m\]'; # Bold -BBla='\e[1;30m'; -BRed='\e[1;31m'; -BYel='\e[1;33m'; -BGre='\e[1;32m'; -BBlu='\e[1;34m'; -BPur='\e[1;35m'; -BCya='\e[1;36m'; -BWhi='\e[1;37m'; +BBla='\[\e[1;30m\]'; +BRed='\[\e[1;31m\]'; +BYel='\[\e[1;33m\]'; +BGre='\[\e[1;32m\]'; +BBlu='\[\e[1;34m\]'; +BPur='\[\e[1;35m\]'; +BCya='\[\e[1;36m\]'; +BWhi='\[\e[1;37m\]'; # High Intensity -IBla='\e[0;90m'; -IRed='\e[0;91m'; -IGre='\e[0;92m'; -IYel='\e[0;93m'; -IBlu='\e[0;94m'; -IPur='\e[0;95m'; -ICya='\e[0;96m'; -IWhi='\e[0;97m'; +IBla='\[\e[0;90m\]'; +IRed='\[\e[0;91m\]'; +IGre='\[\e[0;92m\]'; +IYel='\[\e[0;93m\]'; +IBlu='\[\e[0;94m\]'; +IPur='\[\e[0;95m\]'; +ICya='\[\e[0;96m\]'; +IWhi='\[\e[0;97m\]'; # ----------------------------------------------------------------- COLOR CONF D_DEFAULT_COLOR="${Whi}"