]> _ Git - termbox2.git/commit
interpret oob terminfo strings as absent caps
authorAdam Saponara <as@php.net>
Fri, 7 Jul 2023 02:58:04 +0000 (22:58 -0400)
committerAdam Saponara <as@php.net>
Fri, 7 Jul 2023 02:58:04 +0000 (22:58 -0400)
commitcbf8ef87a19f4bd13f26227942a6358581a79bf4
tree5089e725b63ccea77c769f02f013d2539f608592
parent80733af0b93cfa75bf2af56c391ee1a2717cbd1e
interpret oob terminfo strings as absent caps

if either the string offset or string value is beyond the entry
bounds, interpret this as an absent cap. several terms seem to do
this.

this behavior is still slightly stricter than ncurses which ignores
corrupt or truncated terminfo entries. we still error in that case.
termbox2.h