execute writes the given sequence to the program output.
(seq string)
| 1321 | |
| 1322 | // execute writes the given sequence to the program output. |
| 1323 | func (p *Program) execute(seq string) { |
| 1324 | p.mu.Lock() |
| 1325 | _, _ = p.outputBuf.WriteString(seq) |
| 1326 | p.mu.Unlock() |
| 1327 | p.wakeRenderer() |
| 1328 | } |
| 1329 | |
| 1330 | // executeQuery writes a terminal query to the program output. Queries expect a |
| 1331 | // reply on p.input, so when input is disabled the query is skipped: the |
no test coverage detected