| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…elete capability idcok() and idlok() take effect only when the terminal can insert or delete characters or lines, so check their getters against the terminal's capabilities instead of asserting an unconditional round-trip. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
| Back | FazBrowse Home | New Git URL |
idcok() and idlok() only take effect when the terminal can insert or delete characters or lines (ncurses sets the window flag to flag && has_ic() and flag && (has_il() || change_scroll_region) respectively). On terminals without those capabilities, is_idcok()/is_idlok() return False even after setting the flag to True, so test_state_getters failed on many buildbots.
Drop these two from the unconditional round-trip loop and assert their getters against the terminal's actual capabilities instead.