aaronjanse / 3mux

Terminal multiplexer inspired by i3
MIT License
1.82k stars 45 forks source link

Feature Request: Multi seat (user) support #43

Open stammon opened 4 years ago

stammon commented 4 years ago

Tmux supports several users viewing the same tmux session.

I suggest implementing this too, but taking the feature one step further, allowing several seats(users) working in different panes / workspaces at the same time.

Use cases could be:

Thanks a lot for writing 3mux. I once considered implementing such functionality myself in tmux. With the much cleaner codebase of 3mux, adding this feature should take a lot less effort.

aaronjanse commented 4 years ago

I definitely think it would be cool to allow multiple read-only clients to attach to a session (once sessions are implemented #11). I feel uncomfortable, though, with the thought of having a fully collaborative session system, with multiple people writing at the same time.

side by side teaching. The teacher enters commands in the pane on the right side and the student replicates the commands in the left pane

Do you think this specific example could work with only one user writing at a time? If so, I think a very straightforward UI could work for quickly claiming/relinquishing write access.

Do you have any thoughts on this? Maybe more use case examples?

Thanks a lot for writing 3mux.

Thank you for helping me improve it!

With the much cleaner codebase of 3mux, adding this feature should take a lot less effort.

I don't know if I can claim having a cleaner codebase, but I do think 3mux would be much easier to modify than tmux. Once the current refactor on the dev branch is complete, implementing features like this wouldn't require any major surgery on the 3mux codebase.