Skip to content

feat(mux): add Kaku terminal emulator backend#49

Open
0xbentang wants to merge 3 commits into
HazAT:mainfrom
0xbentang:kaku-support
Open

feat(mux): add Kaku terminal emulator backend#49
0xbentang wants to merge 3 commits into
HazAT:mainfrom
0xbentang:kaku-support

Conversation

@0xbentang
Copy link
Copy Markdown

Summary

  • Add Kaku terminal emulator as a supported mux backend
  • Kaku is a WezTerm fork with identical CLI interface but KAKU_UNIX_SOCKET env var and kaku binary
  • Detection via KAKU_UNIX_SOCKET (no conflict with WezTerm's WEZTERM_UNIX_SOCKET)
  • All WezTerm subcommands mapped to kaku: split-pane, send-text, kill-pane, get-text, set-tab-title, set-window-title

Testing

  • All 116 tests pass (114 unit + 2 integration)

Kaku is a WezTerm fork that keeps the identical CLI interface but
uses the KAKU_UNIX_SOCKET env var and kaku binary instead of
WEZTERM_UNIX_SOCKET and wezterm.

Adds isKakuRuntimeAvailable() for detection via KAKU_UNIX_SOCKET
and adds kaku variants for all mux operations: split-pane,
send-text, kill-pane, get-text, set-tab-title, set-window-title.
Kaku is detected before WezTerm since KAKU_UNIX_SOCKET is unique.
@0xbentang 0xbentang marked this pull request as ready for review May 6, 2026 00:10
0xbentang added 2 commits May 6, 2026 08:24
Extract isWezTermLikeBackend() and getWezTermLikeBinary() helpers so
kaku reuses the same CLI operation blocks instead of duplicating
them for every backend function.
…param

getWezTermLikeBinary() now reads KAKU_UNIX_SOCKET directly
from the environment rather than branching on the backend
parameter. No callers need to pass an argument.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant