xref: /freebsd/contrib/netbsd-tests/lib/libcurses/tests/background (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
1include start
2call OK bkgd `\002A`
3call OK refresh
4# looks like a bug - bottom right char not filled
5compare background1.chk
6call OK printw "%s" "a test string"
7call OK refresh
8compare background2.chk
9call win1 newwin 6 6 2 5
10check win1 NON_NULL
11call OK wprintw $win1 "%s" "window 1"
12# call OK refresh
13call OK wrefresh $win1
14compare background3.chk
15call OK wbkgd $win1 `\004B`
16call OK refresh
17call OK wrefresh $win1
18compare background4.chk
19call OK wprintw $win1 "%s" "hello world"
20call OK refresh
21call OK wrefresh $win1
22compare background5.chk
23
24