Closed requested to merge feature/pre-post-title into develop
Created by: nojhan
When using LP_ENABLE_TITLE=1, the prompt will be dispalyed as is in the window's title. This could be a problem if you want to customize the prompt with fancy stuff, like a large horizontal line on a new line.
This feature add the LP_PS1_PRETITLE and LP_PS1_POSTTITLE variables, added to PS1 only after the LP_TITLE has been generated.
For example, if you want to add a line separator across all you terminal:
LP_PS1_PRETITLE="$(printf '%*s\n' $(tput cols) '' | tr ' ' '-')"
If you want to customize the typing field: