diff --git a/README.md b/README.md index e4fa176..da6058e 100644 --- a/README.md +++ b/README.md @@ -7,20 +7,23 @@ [![GoDoc](https://godoc.org/github.com/moul/gotty-client?status.svg)](https://godoc.org/github.com/moul/gotty-client) ```ruby - +----------------+ +----------------+ +-------------+ - | | | +---------> /bin/bash | - +---> Browser -----+ | gotty | | +-------------+ -+-------+ | | | | | | | -| | | +----------------+ | | | | +-------------+ -| Bob +---+ +--->---websockets+---------> /bin/bash | -| | | +================+ | | | | +-------------+ -+-------+ | |................| | | | | - +--->..gotty-client.-----+ | | | +-------------+ - |................| | +---------> /bin/bash | - +================+ +----------------+ +-------------+ - - ^ ^ ^ ^ ^ - | | | | | + ┌─────────────────┐ + ┌──────▶│ /bin/bash │ + │ └─────────────────┘ + ┌──────────────┐ ┌──────────┐ + │ │ │ Gotty │ +┌───────┐ ┌──▶│ Browser │───────┐ │ │ +│ │ │ │ │ │ │ │ +│ │ │ └──────────────┘ │ │ │ ┌─────────────────┐ +│ Bob │───┤ websockets─▶│ │─▶│ emacs /var/www │ +│ │ │ ╔═ ══ ══ ══ ══ ╗ │ │ │ └─────────────────┘ +│ │ │ ║ ║ │ │ │ +└───────┘ └──▶║ gotty-client ───────┘ │ │ + ║ │ │ + ╚═ ══ ══ ══ ══ ╝ └──────────┘ + │ ┌─────────────────┐ + └──────▶│ tmux attach │ + └─────────────────┘ ``` ## Example