diff --git a/atuin/src/shell/atuin.zsh b/atuin/src/shell/atuin.zsh index eadd92033ab..644a5397cb3 100644 --- a/atuin/src/shell/atuin.zsh +++ b/atuin/src/shell/atuin.zsh @@ -30,13 +30,13 @@ _atuin_search() { emulate -L zsh zle -I - # Switch to cursor mode, then back to application - echoti rmkx + # Switch to application mode, then back to cursor + echoti smkx # swap stderr and stdout, so that the tui stuff works # TODO: not this # shellcheck disable=SC2048 output=$(RUST_LOG=error atuin search $* -i -- $BUFFER 3>&1 1>&2 2>&3) - echoti smkx + echoti rmkx if [[ -n $output ]]; then RBUFFER=""