diff --git a/src/async.zsh b/src/async.zsh index be2fa07..e57f63a 100644 --- a/src/async.zsh +++ b/src/async.zsh @@ -39,7 +39,7 @@ _zsh_autosuggest_async_request() { # Fetch and print the suggestion local suggestion _zsh_autosuggest_fetch_suggestion "$1" - echo -nE "$suggestion" + echo -nE - "$suggestion" ) # There's a weird bug here where ^C stops working unless we force a fork diff --git a/zsh-autosuggestions.zsh b/zsh-autosuggestions.zsh index 5706cba..d3943c3 100644 --- a/zsh-autosuggestions.zsh +++ b/zsh-autosuggestions.zsh @@ -794,7 +794,7 @@ _zsh_autosuggest_async_request() { # Fetch and print the suggestion local suggestion _zsh_autosuggest_fetch_suggestion "$1" - echo -nE "$suggestion" + echo -nE - "$suggestion" ) # There's a weird bug here where ^C stops working unless we force a fork