These functions mark lines and windows as modified and check the modification status of lines and windows.
The
touchline() function marks
count lines starting from
start in window
win as having been modified. These characters will be synced to the terminal on the next call to
wrefresh().
The
touchoverlap() function marks the portion of
win2 that overlaps
win1 as being modified.
The
touchwin() function marks the entire window
win as having been modified. Conversely, the
untouchwin() function marks the window
win as being unmodified, so that any changes made to that window will not be synced to the terminal during a
wrefresh().
The
wtouchln() function performs one of two operations on
n lines starting at
line in the given window. If
changed is 1 then the given line range is marked as being modified, if
changed is 0 then the given line range is set to being unmodified.
The
is_linetouched() function returns
TRUE if
line in window
win has been modified since the last refresh was done, otherwise
FALSE is returned.
is_wintouched() returns
TRUE if the window
win has been modified since the last refresh, otherwise
FALSE is returned.
The
redrawwin() function marks the entire window
win as having been corrupted. Is is equivalent to the
touchwin() function.
The
wredrawln() function marks
n lines starting at
line in the given window as corrupted. It is equivalent to
wtouchln(
win,
line,
n,
1).
The
wsyncup() function touches all ancestors of
win.
The
wsyncdown() function touches
win if any of its ancestors is touched.