feat(mux): add Kaku terminal emulator backend#49
Open
0xbentang wants to merge 3 commits into
Open
Conversation
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
KAKU_UNIX_SOCKETenv var andkakubinaryKAKU_UNIX_SOCKET(no conflict with WezTerm'sWEZTERM_UNIX_SOCKET)kaku: split-pane, send-text, kill-pane, get-text, set-tab-title, set-window-titleTesting