Documentation
¶
Overview ¶
Package feed is how `txco attach` shows what it does, one line a thing: the same lines in its terminal (run with --foreground) and in its log (`txco attach logs`), coloured when they go to a terminal.
$ npm test · exit 0 · 2.1s a command the other chassis ran here $ npm test · not_allowed …one that did not run, and why job 54e56a9b started a job started in the background agent: fix the failing test a line the job wrote ($TXCO_JOB_PROGRESS) says: I'll look at sum.js (the agent's script writes agent:, says: runs: Bash npm test and runs: lines; any job may write any) job 54e56a9b ended · exit 0 its end attached: … / detached: … the link, and the share, starting and ending
A job's lines are its own words: Clean keeps them to one line and drops every control character, so nothing a command writes can move the cursor, retitle the terminal or paint over what came before.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clean ¶
Clean is s as one line of at most max characters, with no control characters: runs of white space are one space.
func IsTerminal ¶
IsTerminal reports whether f is a terminal, where colour is wanted.
Types ¶
This section is empty.