htmux

command
v0.0.0-...-54ed9d2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package main provides the htmux CLI.

Package main provides the htmux CLI — Helix Terminal Multiplexer.

htmux is a thin gRPC client for the cluster SessionService. It is NOT a long-lived network server: each invocation dials the session service, performs one operation, prints a concrete result to stdout, and exits.

Package main provides the htmux CLI.

wsstream.go — HXC-1105: raw-mode terminal client streaming session I/O over WebSocket envelopes.

This file adds the WebSocket streaming layer to htmux:

  • Dial the helix-session /stream endpoint via a wsDialFunc seam.
  • Decode Output envelopes from the server and write the payload to the local terminal's stdout.
  • Read local keypresses and encode them as Input envelopes sent to the server.
  • Forward SIGWINCH as Resize envelopes.

The wsDialFunc seam allows hermetic unit tests to inject a scripted WS server without real network I/O.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL