Bläddra i källkod

Disable ^C async workaround for zsh version 5.8 and later

pull/612/head
Andrew Tropin 3 år sedan
förälder
incheckning
590c1cd84c
Ingen känd nyckel hittad för denna signaturen i databasen GPG-nyckel ID: 2208D20958C1DEB0
2 ändrade filer med 4 tillägg och 2 borttagningar
  1. +2
    -1
      src/async.zsh
  2. +2
    -1
      zsh-autosuggestions.zsh

+ 2
- 1
src/async.zsh Visa fil

@ -44,7 +44,8 @@ _zsh_autosuggest_async_request() {
# There's a weird bug here where ^C stops working unless we force a fork
# See https://github.com/zsh-users/zsh-autosuggestions/issues/364
command true
autoload -Uz is-at-least
is-at-least 5.8 || command true
# Read the pid from the child process
read _ZSH_AUTOSUGGEST_CHILD_PID <&$_ZSH_AUTOSUGGEST_ASYNC_FD

+ 2
- 1
zsh-autosuggestions.zsh Visa fil

@ -810,7 +810,8 @@ _zsh_autosuggest_async_request() {
# There's a weird bug here where ^C stops working unless we force a fork
# See https://github.com/zsh-users/zsh-autosuggestions/issues/364
command true
autoload -Uz is-at-least
is-at-least 5.8 || command true
# Read the pid from the child process
read _ZSH_AUTOSUGGEST_CHILD_PID <&$_ZSH_AUTOSUGGEST_ASYNC_FD

Laddar…
Avbryt
Spara