소스 검색

Output only newlines in the pty

pull/180/head
Eric Freese 7 년 전
부모
커밋
e5a5b0c1e0
2개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      src/async.zsh
  2. +3
    -0
      zsh-autosuggestions.zsh

+ 3
- 0
src/async.zsh 파일 보기

@ -12,6 +12,9 @@ _zsh_autosuggest_async_fetch_suggestion() {
_zsh_autosuggest_async_suggestion_server() {
emulate -R zsh
# Output only newlines (not carriage return + newline)
stty -onlcr
while IFS='' read -r -d $'\0' prefix; do
# Kill last bg process
kill -KILL %1 &>/dev/null

+ 3
- 0
zsh-autosuggestions.zsh 파일 보기

@ -489,6 +489,9 @@ _zsh_autosuggest_async_fetch_suggestion() {
_zsh_autosuggest_async_suggestion_server() {
emulate -R zsh
# Output only newlines (not carriage return + newline)
stty -onlcr
while IFS='' read -r -d $'\0' prefix; do
# Kill last bg process
kill -KILL %1 &>/dev/null

불러오는 중...
취소
저장