Shell integration: Workaround bash not redrawing multiline prompts

This commit is contained in:
Kovid Goyal
2021-10-01 09:30:26 +05:30
parent eaa0ec4fc3
commit eeb02ceef4
3 changed files with 12 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ _ksi_main() {
fi
if [[ "${_ksi_prompt[mark]}" == "y" ]]; then
PS1="\[\e]133;A\a\]$PS1"
PS1="\[\e]133;A;does_not_redraw_multiline_prompt\a\]$PS1"
PS0="\[\e]133;C\a\]$PS0"
fi