Skip to content

Commit

Permalink
Relax checks for extended capability to support new format (#5)
Browse files Browse the repository at this point in the history
In the 20180331 release, the format was slightly changed:

> 20180331
>         + improve terminfo write/read by modifying the fourth item of the
>           extended header to denote the number of valid strings in the extended
>           string table (prompted by a comment in unibilium's sources).

Since the number of valid string capabilities is not necessarily the
same as extstrslen, it's not possible to sanity check the total number
of items up front anymore.

Include a new test with an updated screen terminfo dump.
  • Loading branch information
blueyed committed Aug 8, 2019
1 parent 4425434 commit 7fba99c
Show file tree
Hide file tree
Showing 3 changed files with 731 additions and 2 deletions.
Binary file added t/fixtures/s/screen
Binary file not shown.
Loading

0 comments on commit 7fba99c

Please sign in to comment.