pub fn detect_context() -> ClientContextExpand description
Detects the client context by inspecting the $RMUX environment variable.
A non-empty $RMUX value indicates a nested context. An absent or empty
value indicates the client is outside any multiplexer session.