use ascii-chars for drawings

This commit is contained in:
Manfred Touron 2020-03-13 16:56:05 +01:00 committed by GitHub
parent ed442d92c7
commit 1656d92d42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 17 deletions

View File

@ -9,23 +9,19 @@
[![Sourcegraph](https://sourcegraph.com/github.com/moul/gotty-client/-/badge.svg)](https://sourcegraph.com/github.com/moul/gotty-client?badge)
```ruby
┌─────────────────┐
┌──────➤│ /bin/bash │
│ └─────────────────┘
┌──────────────┐ ┌──────────┐
│ │ │ Gotty │
┌───────┐ ┌──➤│ Browser │───────┐ │ │
│ │ │ │ │ │ │ │
│ │ │ └──────────────┘ │ │ │ ┌─────────────────┐
│ Bob │───┤ websockets─➤│ │─➤│ emacs /var/www │
│ │ │ ╔═ ══ ══ ══ ══ ╗ │ │ │ └─────────────────┘
│ │ │ ║ ║ │ │ │
└───────┘ └──➤║ gotty-client ║───────┘ │ │
║ ║ │ │
╚═ ══ ══ ══ ══ ╝ └──────────┘
│ ┌─────────────────┐
└──────➤│ tmux attach │
└─────────────────┘
+----------------+
+--------------+ +---------+--->| /bin/bash |
| | | | +----------------+
+-->| Browser |--+ | |
+-------+ | | | | | |
| | | +--------------+ | | | +----------------+
| Bob |--+ +-websocket-->| Gotty |--->| emacs /var/www |
| | | XXXXXXXXXXXXXX | | | +----------------+
+-------+ | X X | | |
+-->X gotty-client X--+ | |
X X | | +----------------+
XXXXXXXXXXXXXX +---------+--->| tmux attach |
+----------------+
```
## Example