summaryrefslogtreecommitdiffstats
path: root/pgcli/pgclirc
diff options
context:
space:
mode:
authorJonas Jelten <jj@sft.mx>2019-11-25 22:38:11 +0100
committerJonas Jelten <jj@sft.mx>2019-11-25 22:51:15 +0100
commit36605174a4b1aa45fd46788e6cb61c970185b9ea (patch)
tree1c329e307150a664a1ff3f5fc6ddb5c02bfd0ea8 /pgcli/pgclirc
parent0f969aba0cbf9b1a93c679a442e74e13f00a1702 (diff)
support ansi escape sequences for prompt colors
Diffstat (limited to 'pgcli/pgclirc')
-rw-r--r--pgcli/pgclirc1
1 files changed, 1 insertions, 0 deletions
diff --git a/pgcli/pgclirc b/pgcli/pgclirc
index 29b1b4c5..13380280 100644
--- a/pgcli/pgclirc
+++ b/pgcli/pgclirc
@@ -126,6 +126,7 @@ less_chatty = False
# \# - "@" sign if logged in as superuser, '>' in other case
# \n - Newline
# \dsn_alias - name of dsn alias if -D option is used (empty otherwise)
+# \x1b[...m - insert ANSI escape sequence
prompt = '\u@\h:\d> '
# Number of lines to reserve for the suggestion menu