1
0
Fork 0

Add an example for how to use the colored prompt. (#1163)

This commit is contained in:
Amjith Ramanujam 2020-03-29 18:32:00 -07:00 committed by GitHub
parent d444db412b
commit 2a28399c3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ less_chatty = False
# \n - Newline
# \dsn_alias - name of dsn alias if -D option is used (empty otherwise)
# \x1b[...m - insert ANSI escape sequence
# eg: prompt = '\x1b[35m\u@\x1b[32m\h:\x1b[36m\d>'
prompt = '\u@\h:\d> '
# Number of lines to reserve for the suggestion menu