mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-08-07 06:08:39 +02:00
fix(vi-mode): keep cursor hook status successful
This commit is contained in:
parent
5181447da8
commit
d3814b852d
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ typeset -g VI_MODE_CURSOR_OPPEND=${VI_MODE_CURSOR_OPPEND:=0}
|
|||
typeset -g VI_KEYMAP=${VI_KEYMAP:=main}
|
||||
|
||||
function _vi-mode-set-cursor-shape-for-keymap() {
|
||||
[[ "$VI_MODE_SET_CURSOR" = true ]] || return
|
||||
[[ "$VI_MODE_SET_CURSOR" = true ]] || return 0
|
||||
|
||||
# https://vt100.net/docs/vt510-rm/DECSCUSR
|
||||
local _shape=0
|
||||
|
|
|
|||
Loading…
Reference in a new issue