mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-12-23 10:21:15 +01: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
1 changed files with 4 additions and 0 deletions
|
@ -77,6 +77,10 @@ class TerminalSession
|
|||
map(&:to_i)
|
||||
end
|
||||
|
||||
def attach!
|
||||
tmux_command('attach-session')
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
attr_reader :opts
|
||||
|
|
Loading…
Reference in a new issue