mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +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)
|
map(&:to_i)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def attach!
|
||||||
|
tmux_command('attach-session')
|
||||||
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
attr_reader :opts
|
attr_reader :opts
|
||||||
|
|
Loading…
Reference in a new issue