include start_color
call OK init_pair 3 $COLOR_YELLOW $COLOR_CYAN
include window_create
call OK waddch $win1 `\000d`
call OK wchgat $win1 3 $UNDERSCORE 3 NULL
call OK wrefresh $win1
compare wchgat1.chk
call OK waddch $win1 `\000e`
call OK wrefresh $win1
compare wchgat2.chk
call OK wmove $win1 0 0
# The following should apply the attribute and colour to the whole line
call OK wchgat $win1 -1 $REVERSE 3 NULL
call OK wrefresh $win1
compare wchgat3.chk
