execute writes the given sequence to the program output.
(seq string)
| 1349 | |
| 1350 | // execute writes the given sequence to the program output. |
| 1351 | func (p *Program) execute(seq string) { |
| 1352 | p.mu.Lock() |
| 1353 | _, _ = p.outputBuf.WriteString(seq) |
| 1354 | p.mu.Unlock() |
| 1355 | p.wakeRenderer() |
| 1356 | } |
| 1357 | |
| 1358 | // executeQuery writes a terminal query to the program output. Queries expect a |
| 1359 | // reply on p.input, so when input is disabled the query is skipped: the |
no test coverage detected