chipSpan marks the rune range [start, end) in the value holding a chip's label. Reconciled after any key event that can shift the value.
| 41 | // chipSpan marks the rune range [start, end) in the value holding a chip's |
| 42 | // label. Reconciled after any key event that can shift the value. |
| 43 | type chipSpan struct { |
| 44 | id int |
| 45 | start, end int |
| 46 | } |
| 47 | |
| 48 | // promptEntry is a frozen promptInput snapshot for history replay: displayed |
| 49 | // text plus the chip metadata needed to restore atomic-chip behaviour on ↑/↓. |
nothing calls this directly
no outgoing calls
no test coverage detected