Skip to main content

detect_context

Function detect_context 

Source
pub fn detect_context() -> ClientContext
Expand 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.