Skip to main content

Module ninep

Module ninep 

Source
Expand description

Plan 9-style virtual filesystem over TuiState.

Provides a 9P-inspired namespace for programmatic access to the TUI multiplexer:

/tui/ctl           — global control (write "new" to create session)
/tui/new           — walk atomically allocates window (Plan 9 /dev/new pattern)
/tui/event         — blocking event stream (broadcast::Receiver)
/tui/windows/      — directory listing
/tui/windows/0/    — window dir (ctl, cons, screen, winname, layout, panes/)
/tui/windows/0/panes/0/ — pane dir (cons, screen)

This is NOT the registry’s ContainedFs — standalone, ephemeral.

Structs§

ConsBuffer
Ring buffer for console I/O (cons files).
TuiFidTable
Table mapping fids to their state.

Enums§

TuiFidState
State associated with an open fid.
TuiNodeId
Virtual file system node identifiers.

Functions§

walk_path
Walk a path from a starting node to resolve a target node.