Eric Freese
c4bfd8e2c6
Need to prevent zpty feature detection from HUPing existing zptys
2017-02-17 15:51:50 -07:00
Eric Freese
c959408305
Only wait a max of 2 seconds for content to match after clearing screen
2017-02-17 15:33:09 -07:00
Eric Freese
ed8056c5e8
Lots of async changes
2017-02-16 19:19:30 -07:00
Eric Freese
64e7ec5bf8
Rename internal term session method
2017-01-29 10:43:20 -07:00
Eric Freese
98f926d53d
Clean up TerminalSession constructor a bit
2017-01-29 10:43:00 -07:00
Eric Freese
51e8755634
TerminalSession methods return self to support chaining
2017-01-29 10:42:28 -07:00
Eric Freese
5151adfe40
Make TerminalSession#clear block until the screen is cleared
2017-01-29 10:40:05 -07:00
Eric Freese
c3425870f1
Wait for the terminal.clear to go through before continuing
...
Prevents some flakiness in tests
2017-01-27 14:07:06 -07:00
Eric Freese
89dd69d517
Add pry gem for debugging support
2017-01-27 14:06:37 -07:00
Eric Freese
2dbd261989
Allow configuring of zsh binary to run integration tests against
2017-01-26 16:04:46 -07:00
Eric Freese
0305908adf
Revert `fc` usage in calculating suggestion
...
As far as I know, `fc` makes it impossible to tell whether history items
used an actual newline character or the string "\n". Pulling from the
`$history` array gives a more accurate representation of the actual
command that was run.
2017-01-24 23:04:07 -07:00
Eric Freese
8e06a54b1c
Add test for string with "\n" in it
2017-01-24 22:49:21 -07:00
Eric Freese
debbffc79a
Add rspec test around accepting suggestions
2017-01-19 22:38:19 -07:00
Eric Freese
c22ab0e399
Implement suggestion integration tests in RSpec + tmux
2017-01-19 22:38:19 -07:00
Eric Freese
07a6768fcb
Add TerminalSession helper for managing a tmux session
2017-01-19 22:38:19 -07:00
Eric Freese
e6591d5de0
Add RSpec for high-level integration testing
2017-01-19 22:33:17 -07:00