pub fn pechochar(pad: WINDOW, ch: ChtypeChar) -> Result<(), NCurseswError>
Expand description
The pechochar()
routine is functionally equivalent to a call to addch()
followed by a call to refresh()
, a call to waddch()
followed by a call
to wrefresh()
, or a call to waddch()
followed by a call to prefresh()
.
The knowledge that only a single character is being output is taken into
consideration and, for non-control characters, a considerable performance
gain might be seen by using these routines instead of their equivalents.
In the case of pechochar()
, the last location of the pad on the screen
is reused for the arguments to prefresh()
.