chipLabel is the visible form inserted into the textarea. Plain text, no ANSI, since textarea doesn't render inline styling inside its value.
(lines int)
| 87 | // chipLabel is the visible form inserted into the textarea. Plain text, no |
| 88 | // ANSI, since textarea doesn't render inline styling inside its value. |
| 89 | func chipLabel(lines int) string { |
| 90 | return fmt.Sprintf("[Pasted text +%d lines]", lines) |
| 91 | } |
| 92 | |
| 93 | // Update is the promptInput's message entry point. Large pastes are swallowed |
| 94 | // into a chip and chip-aware keys handled before delegation; everything else |
no outgoing calls
no test coverage detected