xref: /freebsd/contrib/netbsd-tests/lib/libcurses/tests/chgat (revision 9268022b74279434ed6300244e3f977e56a8ceb5)
1*57718be8SEnji Cooperinclude start_color
2*57718be8SEnji Coopercall OK init_pair 3 $COLOR_YELLOW $COLOR_CYAN
3*57718be8SEnji Coopercall OK addch `\000d`
4*57718be8SEnji Coopercall OK chgat 5 $REVERSE 3 0
5*57718be8SEnji Coopercall OK refresh
6*57718be8SEnji Coopercompare chgat1.chk
7*57718be8SEnji Coopercall OK addch `\000e`
8*57718be8SEnji Coopercall OK refresh
9*57718be8SEnji Coopercompare chgat2.chk
10*57718be8SEnji Coopercall OK move 0 0
11*57718be8SEnji Cooper# The following should apply the attribute and colour to the whole line
12*57718be8SEnji Coopercall OK chgat -1 $UNDERSCORE 3 0
13*57718be8SEnji Coopercall OK refresh
14*57718be8SEnji Coopercompare chgat3.chk
15*57718be8SEnji Cooper
16