Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control Mode Support #3965

Open
xavier83 opened this issue Feb 1, 2025 · 1 comment
Open

Control Mode Support #3965

xavier83 opened this issue Feb 1, 2025 · 1 comment

Comments

@xavier83
Copy link

xavier83 commented Feb 1, 2025

Implement a Control Mode similar to tmux's Control Mode, enabling external programs to interact with Zellij via a structured text-based protocol.

Why?
Control Mode allows external tools, such as terminal emulators and automation scripts, to manage sessions, windows, and panes efficiently. It enables integration with terminal UIs and remote SSH workflows without direct user interaction.

Expected Behavior
A command-line flag (e.g., zellij -C) to start a client in Control Mode.
Commands issued in Control Mode return structured responses.
Asynchronous notifications for session, window, and pane events.
Ability to send pane output as structured text instead of raw terminal rendering.
References
tmux Control Mode Documentation
Existing Terminal Emulator Support
Would love to hear the maintainers' thoughts on whether this aligns with Zellij’s goals! 🚀

@imsnif
Copy link
Member

imsnif commented Feb 1, 2025

You might be interested in this discussion: wezterm/wezterm#4889

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

No branches or pull requests

2 participants