mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-22 12:24:25 +00:00
Add example of tmux shortcut key to README
This commit is contained in:
parent
87f8409068
commit
5e3796d644
@ -56,6 +56,15 @@ $ tmux new -A -s gotty
|
|||||||
|
|
||||||
By using terminal multiplexers, you can have the control of your terminal and allow clients to just see your screen.
|
By using terminal multiplexers, you can have the control of your terminal and allow clients to just see your screen.
|
||||||
|
|
||||||
|
### Quick Sharing on tmux
|
||||||
|
|
||||||
|
To share your current session with others by a shortcut key, you can add a line like below to your `.tmux.conf`.
|
||||||
|
|
||||||
|
```
|
||||||
|
# Start gotty in a new window with C-t
|
||||||
|
bind-key C-t new-window "gotty tmux attach -t `tmux display -p '#S'`"
|
||||||
|
```
|
||||||
|
|
||||||
## Playing with Docker
|
## Playing with Docker
|
||||||
|
|
||||||
When you want to create a jailed environment for each client, you can use Docker containers like following:
|
When you want to create a jailed environment for each client, you can use Docker containers like following:
|
||||||
|
Loading…
Reference in New Issue
Block a user