DisplayValue returns the text as shown, chip labels stay collapsed. Used for echo-to-scroll on submit and the ↑/↓ history snapshot.
()
| 497 | // DisplayValue returns the text as shown, chip labels stay collapsed. Used for |
| 498 | // echo-to-scroll on submit and the ↑/↓ history snapshot. |
| 499 | func (p promptInput) DisplayValue() string { return p.ta.Value() } |
| 500 | |
| 501 | // Entry snapshots state for the history buffer, cloning store and spans so |
| 502 | // later edits to the live promptInput don't mutate the recorded entry. |