Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Upcoming (TBD)
==============

Documentation
---------
* Give example for ANSI prompt colors in `~/.myclirc`.


Internal
---------
* Remove unused fixture data.
Expand Down
3 changes: 2 additions & 1 deletion mycli/myclirc
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ wider_completion_menu = False
# * \n - a newline
# * \_ - a space
# * \\ - a literal backslash
# * \x1b[...m - an ANSI escape sequence (can style with color)
# * \x1b[...m - an ANSI escape sequence (can style with color or attributes)
# ANSI color example: prompt = '\x1b[31mroot\x1b[0m@localhost:\d> '
prompt = '\t \u@\h:\d> '
prompt_continuation = '->'

Expand Down
3 changes: 2 additions & 1 deletion test/myclirc
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ wider_completion_menu = False
# * \n - a newline
# * \_ - a space
# * \\ - a literal backslash
# * \x1b[...m - an ANSI escape sequence (can style with color)
# * \x1b[...m - an ANSI escape sequence (can style with color or attributes)
# ANSI color example: prompt = '\x1b[31mroot\x1b[0m@localhost:\d> '
prompt = "\t \u@\h:\d> "
prompt_continuation = ->

Expand Down
Loading