Full creates an EventProcessor that render advanced UI within a terminal. On Start, TUI lists task with a progress timer
(out io.Writer, info io.Writer, detached bool)
| 38 | // Full creates an EventProcessor that render advanced UI within a terminal. |
| 39 | // On Start, TUI lists task with a progress timer |
| 40 | func Full(out io.Writer, info io.Writer, detached bool) api.EventProcessor { |
| 41 | return &ttyWriter{ |
| 42 | out: out, |
| 43 | info: info, |
| 44 | tasks: map[string]*task{}, |
| 45 | done: make(chan bool), |
| 46 | mtx: &sync.Mutex{}, |
| 47 | detached: detached, |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | type ttyWriter struct { |
| 52 | out io.Writer |
no outgoing calls
no test coverage detected