Commit 2facde8
gh-152263: Make test_init_reserves_a_line portable to non-ncurses curses
Soft-label formats 2 and 3 are ncurses extensions; other curses
implementations (such as NetBSD curses) reject them with an error.
Require every format to work on ncurses, but tolerate the extended
formats being unsupported elsewhere.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 75013a2 commit 2facde8
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3001 | 3001 | | |
3002 | 3002 | | |
3003 | 3003 | | |
3004 | | - | |
| 3004 | + | |
| 3005 | + | |
| 3006 | + | |
| 3007 | + | |
3005 | 3008 | | |
3006 | 3009 | | |
3007 | | - | |
| 3010 | + | |
| 3011 | + | |
| 3012 | + | |
| 3013 | + | |
| 3014 | + | |
| 3015 | + | |
3008 | 3016 | | |
3009 | 3017 | | |
3010 | 3018 | | |
| |||
0 commit comments