consciousness/poc-agent
ProofOfConcept 1fa298cbdd tui: fix cursor position to use character count, not byte count
self.cursor is a byte index into the string. When scanning the buffer,
we need to compare character positions, not byte positions or widths.

Convert self.cursor to a character count before comparing with the
buffer scan. Count each non-empty cell as 1 character (the buffer
already represents visual cells, so width doesn't matter here).
2026-03-19 00:46:17 -04:00
..
.claude Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
paper Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
src tui: fix cursor position to use character count, not byte count 2026-03-19 00:46:17 -04:00
tests Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
.gitignore Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
Cargo.lock Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
Cargo.toml tui: fix cursor desync by scanning rendered buffer 2026-03-19 00:40:05 -04:00
POC.md Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
scratch.md Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00