Introduce new prompt format character, '\e' that emits an ASCII ESC
character. This might come handy to use ANSI sequences in PS1, for
example.
Example in ~/.shrc:
PS1="\e[7m\u@\h\e[0m:\w \\$ "
This is my naive approach, as this solves my use case.