Shell integration: Set cursor shape to whatever is specified in the cursor_shape option when executing a command rather than the block shape

This commit is contained in:
Kovid Goyal
2022-01-25 13:30:48 +05:30
parent 364bad504c
commit 44e3a6f0fb
3 changed files with 5 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ _ksi_main() {
if [[ "${_ksi_prompt[cursor]}" == "y" ]]; then
_ksi_prompt[ps1]+="\[\e[5 q\]" # blinking bar cursor
_ksi_prompt[ps0]+="\[\e[1 q\]" # blinking block cursor
_ksi_prompt[ps0]+="\[\e[0 q\]" # blinking default cursor
fi
if [[ "${_ksi_prompt[title]}" == "y" ]]; then