mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-12-30 00:03:56 +08:00
Add method to connect terminal to tmux session during tests
Useful with `binding.pry` to inspect behavior of tests.
This commit is contained in:
parent
19ad3ba7cd
commit
51fef255da
|
@ -77,6 +77,10 @@ class TerminalSession
|
|||
map(&:to_i)
|
||||
end
|
||||
|
||||
def attach!
|
||||
tmux_command('attach-session')
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
attr_reader :opts
|
||||
|
|
Loading…
Reference in New Issue
Block a user