feat: add single-line/multi-line display mode toggle (v0.5.2)
Features:
- Add Ctrl+L to toggle between display modes:
- Multi-line mode: show line numbers, wrap long lines
- Single-line mode: hide line numbers, horizontal scroll
- Full syntax highlighting support in single-line mode
- ANSI escape code slicing for proper color rendering
Fixes:
- Fix syntax highlighting bug where characters were duplicated at visual line boundaries
- Syntax highlighting now works correctly across all visual lines
Technical:
- Add offset_col and wrap_mode fields to View struct
- Add src/utils/ansi_slice.rs module for ANSI text slicing
- Modify LineLayout::new() to support wrap parameter
- Update cursor movement for single-line mode
📦 下載 / Downloads
請從下方選擇適合您系統的版本下載。
Please download the appropriate version for your system from below.
🔒 檔案校驗 / File Verification
使用 SHA256SUMS 檔案驗證下載的檔案完整性。
Use the SHA256SUMS file to verify the integrity of downloaded files.
📝 自動生成的變更日誌 / Auto-generated Changelog
Full Changelog: v0.5.1...v0.5.2