15 Commits
Author SHA1 Message Date
CatsDeservePets 8b8780299a feat: extend SGR support (#2749)
* feat: support `SGR` color resets and double underline

* test: add cases to TestApplySGR
2026-11-19 23:51:06 +01:00
CatsDeservePets 664d7c88e1 refactor: improve log and error messages (#2708) 2026-10-12 21:33:05 +02:00
valoq 9a60c5c89a refactor: cleanup and document sanitization functions (#2589)
* refactor sanitization functions

* reorder functions

* cleanup

* document sanitize functions
2026-05-25 12:51:29 +10:00
valoq 0ca4d75b9b fix: sanitize names on file operations (#2546)
* fix: sanitize names on file operations

* dont strip internal colors

* minimize sanitation

* cover history entries

* minor improvement

* fix patch

* optimize patch
2026-05-19 11:27:02 +10:00
valoq a88d55e077 refactor: migrate from uniseg to displaywidth (#2559)
* migrate from uniseg to displaywidth

* use firstGraphemeCluster
2026-05-01 14:06:58 +10:00
valoq 7a3591c834 sanitize input data (#2467)
* sanitize input data

* fix test

* relax filter on customInfo
2026-04-08 02:04:30 +02:00
valoq 1aefc1f010 fix: scan for end of CSI terminal sequences (#2466)
* fix csi parser

* fix formatting
2026-03-26 10:16:40 +11:00
valoq e363f76601 fix: filter all character dangerous sequences internally (#2459) 2026-03-24 11:58:58 +11:00
Joe Lim d85070f69d refactor: simplify loop in stripTermSequence (#2444)
* refactor: simplify loop in `stripTermSequence`

* more cleanup
2026-03-20 10:51:45 +11:00
Joe Lim 7829dd0357 refactor: remove internal ID for URL sequences (#2416) 2026-03-10 11:58:12 +11:00
Joe Lim 6ec60cf9d8 chore!: change to use v3 of Tcell (#2286)
* Remove SGR 8

* Remove `<backspace2>`

* Migrate to v3 of Tcell

* Refactor key handling functionality

* Bump Tcell version

* Replace `SetContent` API with `Put` API

* bump dependencies

* Use new color package

* Fix cursor position for grapheme clusters

* Some editing fixes to support grapheme clusters

* Ignore carriage return when printing

* Move grapheme cluster handling into misc.go

* Fix length of filenames containing emoji

* Use slices.Concat

* Use `string` instead of `[]rune` for `win.print`

* Add note about modifier limitations

* Update `CHANGELOG.md`
2026-03-04 17:02:26 +11:00
CatsDeservePets 60deb6e43b docs: normalize Go doc comments (#2359) 2026-01-25 01:14:27 +01:00
CatsDeservePets 57d02dd01d refactor: move optionToFmtstr() to termseq.go (#2323) 2025-12-27 17:37:30 +01:00
Joe Lim 6402bafb9a refactor: Move gEscapeCode to where it is used (#2285) 2025-12-02 18:23:11 +11:00
CatsDeservePets e45412d363 Add OSC 8 support (#2243)
* Add `OSC 8` support

* Rename functions

* Update tests

* Support grouped links

* Update `CHANGELOG.md`

* Move terminal sequence parsing to new file
2025-11-03 15:55:29 +01:00