charmbracelet / sequin

Human-readable ANSI sequences 🪩
MIT License
480 stars 6 forks source link

feat: serve sequin over ssh #18

Open caarlos0 opened 3 days ago

caarlos0 commented 3 days ago

this allows the binary to be a SSH server too, so we can run it somewhere and people can printf seqs | ssh some.addr.

not sure if we should do this, this is also probably not the best way to do it, but it was quick to prototype :)

also added a timeout to the stdin read so it doesn't hang forever