mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
tight prompt
This commit is contained in:
parent
6d239fcacc
commit
08f655b65c
1 changed files with 5 additions and 2 deletions
|
|
@ -72,6 +72,8 @@ ANSI_LIGHT_GREEN = "\033[0;92m"
|
||||||
ANSI_LIGHT_YELLOW = "\033[0;93m"
|
ANSI_LIGHT_YELLOW = "\033[0;93m"
|
||||||
ANSI_LIGHT_GRAY="\033[0;38;5;247m"
|
ANSI_LIGHT_GRAY="\033[0;38;5;247m"
|
||||||
ANSI_BGRAY="\033[1;38;5;247m"
|
ANSI_BGRAY="\033[1;38;5;247m"
|
||||||
|
ANSI_GRAY_BACK="\033[48;5;247m"
|
||||||
|
ANSI_RESET_BACK="\033[49m"
|
||||||
ANSI_ORANGE="\033[0;38;5;214m"
|
ANSI_ORANGE="\033[0;38;5;214m"
|
||||||
ANSI_BORANGE="\033[1;38;5;214m"
|
ANSI_BORANGE="\033[1;38;5;214m"
|
||||||
#ANSI_YELLOW="\033[0;38;5;226m"
|
#ANSI_YELLOW="\033[0;38;5;226m"
|
||||||
|
|
@ -82,8 +84,9 @@ ANSI_BYELLOW = "\033[1;33m"
|
||||||
#Unicode chars
|
#Unicode chars
|
||||||
# some possible symbols for prompts 🭬🬛🬗🭬🬛🬃🬗🭬🬛🬃🬗🬏🭀🭋🭨🮋
|
# some possible symbols for prompts 🭬🬛🬗🭬🬛🬃🬗🭬🬛🬃🬗🬏🭀🭋🭨🮋
|
||||||
ARROW_HEAD = ""
|
ARROW_HEAD = ""
|
||||||
SLASH_END = ""
|
SLASH_END = f"{ANSI_RESET_BACK}"
|
||||||
SLASH_START = ""
|
#SLASH_START = ""
|
||||||
|
SLASH_START = f"{ANSI_GRAY_BACK}"
|
||||||
INVERT_SLASH = False
|
INVERT_SLASH = False
|
||||||
|
|
||||||
def escape_ansi(line):
|
def escape_ansi(line):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue