Repository navigation
Releases
Releases · dethan3/punc
v0.3.4
- Made edit-mode soft wrapping render and cursor placement width-aware in both debug and release builds.
- Improved wrapped-line behavior for wide CJK characters by using display width instead of raw character count.
- Added regression tests for wrapped-row and display-column calculations.
v0.3.3
- Fixed Tab insertion so one keypress is treated as one logical undo step.
- Fixed accepting external changes so the buffer stays clean when it matches disk.
- Made dirty-state tracking follow the saved/disk-synced state, including undo and redo.
- Improved multi-character cursor positioning using rope coordinates, including correct CRLF handling.
v0.3.0
- Added built-in CLI commands for
--help,--version,--keys, anddoctor. - Fixed argument parsing so flags no longer open accidental files, with
--support for dash-prefixed file names. - Added doctor checks for terminal, clipboard helper, and file watcher availability.
- Documented the new CLI command surface and quit-confirmation shortcuts in both English and Chinese READMEs.
Punc v0.2.0
Punc v0.2.0
Highlights
- Added unsaved-exit confirmation with
Save,Discard, andCancelactions. - Added default selection and arrow-key navigation in the quit dialog.
- Improved external-change review flow and documented
Alt+Dmore clearly. - Fixed external-change state so the alert clears when disk content matches the buffer again.
- Reduced memory usage for large files and preview mode by avoiding full-string file IO and caching preview/status computations.
Verification
cargo testcargo build --releasecargo package --allow-dirty