pf_app
-2000000 and -20000000 are the same shape at a glance, and the ledger deals in both. Display only: what leaves the input is always the raw string, so nothing upstream ever sees a comma. Partly-typed numbers survive intact -- "1." and "-" and "1.50" are all states on the way to a value, and reformatting them into something else mid-keystroke makes the field unusable. The caret is restored by counting digits rather than remembering an offset, since inserting a comma shifts every character after it and a remembered position lands one place off for the rest of the number. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| lib | ||
| public | ||
| routes | ||
| setup_sql | ||
| ui | ||
| .env.example | ||
| .gitignore | ||
| CLAUDE.md | ||
| install.sh | ||
| package-lock.json | ||
| package.json | ||
| PERSPECTIVE.md | ||
| pf_perspective_options.md | ||
| pf_spec.md | ||
| pf.sh | ||
| server.js | ||