Commit Graph

15 Commits (4838222dde4e286b6861bb83bc21f0a3d50b7a5f)

Author SHA1 Message Date
Eric Freese 9cb0101512 Refactor async mode to no longer use zpty
See technique used in `fast-syntax-highlighting`:
- ca2e18bbc9
- http://www.zsh.org/mla/users/2018/msg00424.html
7 years ago
Eric Freese 5549b68e6e Async is less reliable in zsh versions < 5.0.8
`stty` occasionally hangs (always in CircleCI) inside the async pty.

Disable the tests for now until we can figure out and fix/workaround
this issue.
7 years ago
Eric Freese 51fef255da Add method to connect terminal to tmux session during tests
Useful with `binding.pry` to inspect behavior of tests.
7 years ago
Eric Freese a2f0ffb122 Enabling suggestions should not fetch a suggestion if buffer is empty 8 years ago
Eric Freese 502fb4a174 Make tmux_socket_name public so you can access easily from binding.pry
Can attach while tests are stopped with `tmux -L <socket_name> attach`
8 years ago
Eric Freese c9a51e0c4c Handle dashes at the beginning of commands 8 years ago
Eric Freese 938144530c Fix tests 8 years ago
Eric Freese c959408305 Only wait a max of 2 seconds for content to match after clearing screen 8 years ago
Eric Freese ed8056c5e8 Lots of async changes 8 years ago
Eric Freese 64e7ec5bf8 Rename internal term session method 8 years ago
Eric Freese 98f926d53d Clean up TerminalSession constructor a bit 8 years ago
Eric Freese 51e8755634 TerminalSession methods return self to support chaining 8 years ago
Eric Freese 5151adfe40 Make TerminalSession#clear block until the screen is cleared 8 years ago
Eric Freese 2dbd261989 Allow configuring of zsh binary to run integration tests against 8 years ago
Eric Freese 07a6768fcb Add TerminalSession helper for managing a tmux session 9 years ago