ctx-tui 2.0.4

Manage repo-scoped work contexts: fresh checkouts wrapped in terminal multiplexer sessions
Documentation
�

"�j����SSKJr SSKJrJr SSKJr SSKJr SSK	J
r
 \
(aSSKJr SSK
Jr "SS	\5r"S
S\5r"SS
\5rSSjrg)�)�annotations)�ABC�abstractmethod)�Mapping)�StrEnum)�
TYPE_CHECKING)�Context)�Nodec��\rSrSrSrSrSrg)�MultiplexerKind�
�tmux�zellij�N)�__name__�
__module__�__qualname__�__firstlineno__�TMUX�ZELLIJ�__static_attributes__r��I/Users/michael/dev/contexts/ctx/rewrite-it-in-rust/src/ctx/multiplexer.pyrr
s���D�
�Frrc��\rSrSrSrg)�MultiplexerError�rN)rrrrrrrrrrs��rrc��\rSrSr\S
Sj5r\SSj5r\SSj5r\SS
Sjj5r\SS
Sjj5r	\SSj5r
S	rg)�Multiplexer�c��g)zCWhether open() returns control instead of taking over the terminal.Nr)�selfs r�can_open_in_place�Multiplexer.can_open_in_place��rc��g)z.Whether a session for this context is running.Nr�r!�ctxs  r�exists�Multiplexer.existsr$rc��g)z7Whether this process runs inside the context's session.Nrr&s  r�
is_current�Multiplexer.is_currentr$rNc��g)zgCreate the context's session without attaching, if it doesn't exist.

`values` has open()'s semantics.
Nr�r!r'�valuess   r�create�Multiplexer.create#r$rc��g)a6Create the context's session if needed, then attach to it.

`values` feed the layout's builtin panes and only take effect when
this call creates the session. Pass a mapping (possibly empty) when
opening a freshly created context; None marks a recreated session,
where builtins resume instead of starting anew.
Nrr.s   r�open�Multiplexer.open*r$rc��g)z Tear down the context's session.Nrr&s  r�kill�Multiplexer.kill4r$rr)�return�bool)r'r	r8r9)N)r'r	r/zMapping[str, str] | Noner8�None)r'r	r8r:)rrrrrr"r(r+r0r3r6rrrrrrs|���R��R��=��=��F��F����������/��/rrc��U=[R:Xa SSKJn U"U5$[R:XaSSKJn U"U5$g)Nr)�TmuxMultiplexer)�ZellijMultiplexer)rr�ctx.multiplexers.tmuxr<r�ctx.multiplexers.zellijr=)�kind�layoutr<r=s    r�get_multiplexerrB9s:��
�
!�_�
!�
!�=�"�6�*�*�
�
#�
#�A�$�V�,�,�$rN)r@rrAr
r8r)�
__future__r�abcrr�collections.abcr�enumr�typingr�ctx.contextsr	�
ctx.layoutr
r�	ExceptionrrrBrrr�<module>rKsG��"�#�#�� ��$���g��
	�y�	� /�#� /�F	-r