Skip to main content

Crate muxr_core

Crate muxr_core 

Source

Modules§

protocol 🔒
server_runner 🔒
session 🔒

Structs§

AttachAccepted
AttachRequest
ClientKey
One ordered keyboard event from the muxr client.
ClientKeyModifiers
Keyboard modifiers observed by the muxr client.
ClientMouseEvent
Mouse event captured from the outer terminal before server-side pane translation.
ClientMousePosition
LayoutSnapshot
PaneId
PaneRegionSnapshot
PaneRegionsSnapshot
PaneSnapshot
Tracked-process status rendered by the client tab bar.
ProtocolFrame
Owned muxr protocol frame bytes.
RenderBaseline
RenderCell
One terminal render cell.
RenderCursor
RenderDiff
RenderHyperlink
RenderRowSpan
RenderStyle
RenderTextStyle
ServerLogTimestamp
Validated timestamp component for a muxr server log filename.
ServerRunnerArgs
Private muxr-server argument contract shared by the public CLI, client spawn path, and server runner.
SessionName
SessionPaths
TabId
TabSnapshot
TerminalSize

Enums§

ClientKeyCode
Normalized key code carried with the original terminal bytes.
ClientMouseEventPhase
Press or release phase for an SGR mouse event captured by the muxr client.
ClientRequest
PaneMouseMode
Mouse tracking mode requested by the application running in a pane.
PaneRegionContainment
PaneScrollDirection
PaneScrollLineMove
Outcome for a single-line pane scroll request.
RenderCellWidth
RenderColor
RenderCursorShape
Visible cursor shape requested by the pane application.
RenderCursorVisibility
Whether the pane cursor should be rendered.
RenderUpdate
RowWrap
Whether a terminal row ends normally or continues via a soft wrap.
ServerError
ServerEvent
TrackedProcessState

Constants§

DEFAULT_SESSION_NAME
EXTERNAL_LAYOUT_ARG
SERVER_LOG_TIMESTAMP_FORMAT
Timestamp format used in muxr server log filenames.

Functions§

decode_client_request
Decode a client request from one muxr protocol frame containing a rkyv payload.
decode_server_event
Decode a server event from one muxr protocol frame containing a rkyv payload.
encode_client_request
Encode a client request as a muxr protocol frame containing a rkyv payload.
encode_server_event
Encode a server event as a muxr protocol frame containing a rkyv payload.
validate_socket_path
Validate that a muxr Unix socket path fits the portable filesystem-socket limit.