diff --git a/atuin/src/shell/atuin.bash b/atuin/src/shell/atuin.bash index 1056dcf..fd78ee3 100644 --- a/atuin/src/shell/atuin.bash +++ b/atuin/src/shell/atuin.bash @@ -16,10 +16,8 @@ _atuin_precmd() { } __atuin_history() { - tput rmkx # shellcheck disable=SC2048,SC2086 HISTORY="$(RUST_LOG=error atuin search $* -i -- "${READLINE_LINE}" 3>&1 1>&2 2>&3)" - tput smkx READLINE_LINE=${HISTORY} READLINE_POINT=${#READLINE_LINE} diff --git a/atuin/src/shell/atuin.zsh b/atuin/src/shell/atuin.zsh index eadd920..2ea4f4d 100644 --- a/atuin/src/shell/atuin.zsh +++ b/atuin/src/shell/atuin.zsh @@ -30,13 +30,10 @@ _atuin_search() { emulate -L zsh zle -I - # Switch to cursor mode, then back to application - echoti rmkx # 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 if [[ -n $output ]]; then RBUFFER=""