mansil 0.2.0
mansil: ^0.2.0 copied to clipboard
A multi-language ANSI codes library.
0.2.0 #
2026-10-17
- Added the erase codes
ClearScreenDown,ClearScreenUp,ClearLineRightandClearLineLeft - Added
HideCursorandShowCursor - Added
Strip,VisibleWidthandTruncate, to measure and cut styled text
Breaking Changes
- the relative cursor helpers (
CursorUp,CursorDown,CursorRight,CursorLeft,CursorNextLineandCursorPrevLine) return an empty string forn <= 0. Before,n = 0moved the cursor by one, because a CSI parameter of 0 means 1 - [JS/TS] helpers no longer rely on
this, so they also work when passed around unbound
0.1.2 #
2026-02-08
- Improved the structure of the package
0.1.0 #
2026-01-28
- Initial release