mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 10:02:23 +00:00
Merge PR #382: word wrapping in Editor component
This commit is contained in:
commit
2b054cdb7c
150 changed files with 10122 additions and 4285 deletions
|
|
@ -2,6 +2,22 @@
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
|
||||
- Editor component now uses word wrapping instead of character-level wrapping for better readability ([#382](https://github.com/badlogic/pi-mono/pull/382) by [@nickseelert](https://github.com/nickseelert))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Shift+Space, Shift+Backspace, and Shift+Delete now work correctly in Kitty-protocol terminals (Kitty, WezTerm, etc.) instead of being silently ignored ([#411](https://github.com/badlogic/pi-mono/pull/411) by [@nathyong](https://github.com/nathyong))
|
||||
|
||||
## [0.31.1] - 2026-01-02
|
||||
|
||||
### Fixed
|
||||
|
||||
- `visibleWidth()` now strips OSC 8 hyperlink sequences, fixing text wrapping for clickable links ([#396](https://github.com/badlogic/pi-mono/pull/396) by [@Cursivez](https://github.com/Cursivez))
|
||||
|
||||
## [0.31.0] - 2026-01-02
|
||||
|
||||
### Added
|
||||
|
||||
- `isShiftCtrlO()` key detection function for Shift+Ctrl+O (Kitty protocol)
|
||||
|
|
@ -12,11 +28,13 @@
|
|||
### Changed
|
||||
|
||||
- README.md completely rewritten with accurate component documentation, theme interfaces, and examples
|
||||
- Editor component now uses word wrapping instead of character-level wrapping for better readability
|
||||
- `visibleWidth()` reimplemented with grapheme-based width calculation, 10x faster on Bun and ~15% faster on Node ([#369](https://github.com/badlogic/pi-mono/pull/369) by [@nathyong](https://github.com/nathyong))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Markdown component now renders HTML tags as plain text instead of silently dropping them ([#359](https://github.com/badlogic/pi-mono/issues/359))
|
||||
- Crash in `visibleWidth()` and grapheme iteration when encountering undefined code points ([#372](https://github.com/badlogic/pi-mono/pull/372) by [@HACKE-RC](https://github.com/HACKE-RC))
|
||||
- ZWJ emoji sequences (rainbow flag, family, etc.) now render with correct width instead of being split into multiple characters ([#369](https://github.com/badlogic/pi-mono/pull/369) by [@nathyong](https://github.com/nathyong))
|
||||
|
||||
## [0.29.0] - 2025-12-25
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue