The cursor index is into self.input, but the rendered buffer contains the prompt prepended to the first line. Need to add prompt.len() to get the correct character position when scanning the buffer. |
||
|---|---|---|
| .. | ||
| .claude | ||
| paper | ||
| src | ||
| tests | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| POC.md | ||
| scratch.md | ||