bugfix: 修复fzf-tab图片预览位置错误

This commit is contained in:
chenyc 2023-01-04 15:36:06 +08:00
parent 4b9337b4a9
commit 10f15f661b
1 changed files with 1 additions and 0 deletions

View File

@ -211,6 +211,7 @@ fzf-tab-debug() {
} }
fzf-tab-complete() { fzf-tab-complete() {
bash $OMZ/lib/get_cursor.sh
# this name must be ugly to avoid clashes # this name must be ugly to avoid clashes
local -i _ftb_continue=1 _ftb_continue_last=0 _ftb_accept=0 ret=0 local -i _ftb_continue=1 _ftb_continue_last=0 _ftb_accept=0 ret=0
# hide the cursor until finishing completion, so that users won't see cursor up and down # hide the cursor until finishing completion, so that users won't see cursor up and down