1. Jun 05, 2021
  2. Jun 04, 2021
  3. Mar 09, 2021
  4. Mar 08, 2021
  5. Jun 06, 2020
  6. May 29, 2020
    • Roman Perepelitsa's avatar
      fix a bug in partial acceptance of suggestions · e0b96e1b
      Roman Perepelitsa authored
      To reproduce:
      
      1. Run `zsh -f`.
      2. Run this:
        function bye() { BUFFER=bye }
        zle -N bye
        bindkey '^B' bye
        print -s 'hibye unexpected'
        source ~/zsh-autosuggestions/zsh-autosuggestions.zsh
      3. Type `hi` and press Ctrl-B.
      
      Expected: POSTBUFFER is empty.
      
      Actual: POSTBUFFER is " unexpected".
      e0b96e1b
  7. May 07, 2020
    • Eric Freese's avatar
      Fix flaky special char specs by not using `with_history` twice per test · 05f22fa8
      Eric Freese authored
      There's something funny occasionally happening when `with_history` is
      used twice in the same test. It seems to be happening more frequently
      since asynchronous mode was enabled by default. My guess is it has
      something to do with the `C-c` keys being sent toward the end not
      consistently terminating the prompt. But I'm really not sure how it
      would ever get into a `then` block like it seems to:
      
      ```
      Failure/Error: wait_for { session.content }.to eq('echo "hello\nworld"')
      
        expected: "echo \"hello\\nworld\""
             got: "then> echo \"hello\\"
      ```
      
      Sticking to only one `with_history` per terminal session (per test)
      seems to fix the flakiness.
      
      I also removed an old test case because I could not understand why it
      was necessary and so couldn't write a good description for it. Could be
      we'll need to add it back in at some point.
      05f22fa8
  8. May 06, 2020
  9. Jan 30, 2020
  10. Jan 28, 2020
  11. Jan 27, 2020
  12. Jan 25, 2020
  13. Jan 07, 2020
  14. Jan 05, 2020
  15. Dec 15, 2019
  16. Oct 17, 2019
  17. Oct 10, 2019
  18. Oct 01, 2019