Decode returns ErrInvalidHeader for a negative count in the main header, as ncurses does. Before, such a file panicked.
Decode no longer panics on an acs_chars value of odd length. The value now matches infocmp: an unpaired last byte stays at the end, and when a source character repeats, the last pair wins.
Printf reads a % format as ncurses tparm does. Before the verb, a format accepts only the flags, a width and a precision. A width or precision over 10000 drops the flags. Before, a 12-byte string such as %:%%999999XX returned 1 MB.
Changed
%c ignores its width, and %:+ is the + operator, as in ncurses.
Thanks to Andrei Beshkov (@aibeshkov), who found these faults with fuzzing.
Puts(w, s, lines, baud) writes a capability with its padding applied, as tputs in ncurses does. A padding marker, such as the $<100/> in the flash of xterm, now becomes a delay and is not printed (D23).
Changed
Load returns ErrFileNotFound when no directory holds the entry (D29).
ColorLevelFromEnv returns ColorLevelBasic for a terminal with 8 to 255 colors. It returned ColorLevelNone for 8 or 16 colors (D24).
StringCaps, StringCapsShort, ExtStringCaps and ExtStringCapsShort leave out each absent capability (D28).
capvals.go is generated from ncurses 6.6, and names the release (D26). The constants did not change.
Removed
ErrDatabaseDirectoryNotFound. A caller that compares with it must compare with ErrFileNotFound (D29).
Project
CI runs golangci-lint v2.14.0 (D25).
The README has the layout, badges and project links of the other xo packages.
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [github.com/xo/terminfo](https://github.com/xo/terminfo) | `v1.2.0` → `v1.3.1` |  |  |
---
### Release Notes
<details>
<summary>xo/terminfo (github.com/xo/terminfo)</summary>
### [`v1.3.1`](https://github.com/xo/terminfo/releases/tag/v1.3.1): terminfo v1.3.1
[Compare Source](https://github.com/xo/terminfo/compare/v1.3.0...v1.3.1)
#### Fixed
- `Decode` returns `ErrInvalidHeader` for a negative count in the main header, as ncurses does. Before, such a file panicked.
- `Decode` no longer panics on an `acs_chars` value of odd length. The value now matches `infocmp`: an unpaired last byte stays at the end, and when a source character repeats, the last pair wins.
- `Printf` reads a `%` format as ncurses `tparm` does. Before the verb, a format accepts only the flags, a width and a precision. A width or precision over 10000 drops the flags. Before, a 12-byte string such as `%:%%999999XX` returned 1 MB.
#### Changed
- `%c` ignores its width, and `%:+` is the `+` operator, as in ncurses.
Thanks to Andrei Beshkov ([@​aibeshkov](https://github.com/aibeshkov)), who found these faults with fuzzing.
**Full Changelog**: <https://github.com/xo/terminfo/compare/v1.3.0...v1.3.1>
### [`v1.3.0`](https://github.com/xo/terminfo/releases/tag/v1.3.0): terminfo v1.3.0
[Compare Source](https://github.com/xo/terminfo/compare/v1.2.1...v1.3.0)
#### Added
- `Puts(w, s, lines, baud)` writes a capability with its padding applied, as `tputs` in ncurses does. A padding marker, such as the `$<100/>` in the `flash` of `xterm`, now becomes a delay and is not printed (D23).
#### Changed
- `Load` returns `ErrFileNotFound` when no directory holds the entry (D29).
- `ColorLevelFromEnv` returns `ColorLevelBasic` for a terminal with 8 to 255 colors. It returned `ColorLevelNone` for 8 or 16 colors (D24).
- `StringCaps`, `StringCapsShort`, `ExtStringCaps` and `ExtStringCapsShort` leave out each absent capability (D28).
- `capvals.go` is generated from ncurses 6.6, and names the release (D26). The constants did not change.
#### Removed
- `ErrDatabaseDirectoryNotFound`. A caller that compares with it must compare with `ErrFileNotFound` (D29).
#### Project
- CI runs golangci-lint v2.14.0 (D25).
- The README has the layout, badges and project links of the other xo packages.
The decisions are in [docs/PLAN.md](https://github.com/xo/terminfo/blob/v1.3.0/docs/PLAN.md).
**Full Changelog**: <https://github.com/xo/terminfo/compare/v1.2.1...v1.3.0>
### [`v1.2.1`](https://github.com/xo/terminfo/releases/tag/v1.2.1): terminfo v1.2.1
[Compare Source](https://github.com/xo/terminfo/compare/v1.2.0...v1.2.1)
**Full Changelog**: <https://github.com/xo/terminfo/compare/v1.2.0...v1.2.1>
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNTAuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjIxMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Sebi
changed title from chore(deps): update module github.com/xo/terminfo to v1.2.1 to chore(deps): update module github.com/xo/terminfo to v1.3.02026-10-30 04:05:15 +00:00
Sebi
changed title from chore(deps): update module github.com/xo/terminfo to v1.3.0 to chore(deps): update module github.com/xo/terminfo to v1.3.12026-11-04 23:43:44 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
v1.2.0→v1.3.1Release Notes
xo/terminfo (github.com/xo/terminfo)
v1.3.1: terminfo v1.3.1Compare Source
Fixed
DecodereturnsErrInvalidHeaderfor a negative count in the main header, as ncurses does. Before, such a file panicked.Decodeno longer panics on anacs_charsvalue of odd length. The value now matchesinfocmp: an unpaired last byte stays at the end, and when a source character repeats, the last pair wins.Printfreads a%format as ncursestparmdoes. Before the verb, a format accepts only the flags, a width and a precision. A width or precision over 10000 drops the flags. Before, a 12-byte string such as%:%%999999XXreturned 1 MB.Changed
%cignores its width, and%:+is the+operator, as in ncurses.Thanks to Andrei Beshkov (@aibeshkov), who found these faults with fuzzing.
Full Changelog: https://github.com/xo/terminfo/compare/v1.3.0...v1.3.1
v1.3.0: terminfo v1.3.0Compare Source
Added
Puts(w, s, lines, baud)writes a capability with its padding applied, astputsin ncurses does. A padding marker, such as the$<100/>in theflashofxterm, now becomes a delay and is not printed (D23).Changed
LoadreturnsErrFileNotFoundwhen no directory holds the entry (D29).ColorLevelFromEnvreturnsColorLevelBasicfor a terminal with 8 to 255 colors. It returnedColorLevelNonefor 8 or 16 colors (D24).StringCaps,StringCapsShort,ExtStringCapsandExtStringCapsShortleave out each absent capability (D28).capvals.gois generated from ncurses 6.6, and names the release (D26). The constants did not change.Removed
ErrDatabaseDirectoryNotFound. A caller that compares with it must compare withErrFileNotFound(D29).Project
The decisions are in docs/PLAN.md.
Full Changelog: https://github.com/xo/terminfo/compare/v1.2.1...v1.3.0
v1.2.1: terminfo v1.2.1Compare Source
Full Changelog: https://github.com/xo/terminfo/compare/v1.2.0...v1.2.1
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
chore(deps): update module github.com/xo/terminfo to v1.2.1to chore(deps): update module github.com/xo/terminfo to v1.3.09c6a91e648to420421fec3chore(deps): update module github.com/xo/terminfo to v1.3.0to chore(deps): update module github.com/xo/terminfo to v1.3.1420421fec3to0ce7753a9b