promptEntry is a frozen promptInput snapshot for history replay: displayed text plus the chip metadata needed to restore atomic-chip behaviour on ↑/↓.
| 48 | // promptEntry is a frozen promptInput snapshot for history replay: displayed |
| 49 | // text plus the chip metadata needed to restore atomic-chip behaviour on ↑/↓. |
| 50 | type promptEntry struct { |
| 51 | display string |
| 52 | store map[int]chipContent |
| 53 | spans []chipSpan |
| 54 | } |
| 55 | |
| 56 | // newPromptInput builds the configured textarea and chip bookkeeping. All |
| 57 | // styling lives here so model.go never touches textarea internals directly. |
nothing calls this directly
no outgoing calls
no test coverage detected