diff options
| author | 依云 <lilydjwg@gmail.com> | 2025-04-02 00:12:01 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-01 17:12:01 +0100 |
| commit | a82a0013915ce5aa925e76423426c9da1687acff (patch) | |
| tree | f133ce259165fc6e47995aac4fa7e7b6f0c119d2 /crates | |
| parent | fix: add redundant clones to clippy and cleanup instances of it (#2654) (diff) | |
| download | atuin-a82a0013915ce5aa925e76423426c9da1687acff.zip | |
fix(zsh): fix an error introduced earilier with support for bracketed paste mode (#2651)
An extra newline was written to the terminal and caused issues. See https://github.com/atuinsh/atuin/pull/2646#issuecomment-2757157442.
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/atuin/src/shell/atuin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/atuin/src/shell/atuin.zsh b/crates/atuin/src/shell/atuin.zsh index be29de27..5f03c817 100644 --- a/crates/atuin/src/shell/atuin.zsh +++ b/crates/atuin/src/shell/atuin.zsh @@ -61,7 +61,7 @@ _atuin_search() { zle reset-prompt # re-enable bracketed paste # shellcheck disable=SC2154 - echo ${zle_bracketed_paste[1]} >/dev/tty + echo -n ${zle_bracketed_paste[1]} >/dev/tty if [[ -n $output ]]; then RBUFFER="" |
