These functions draw lines on
stdscr or on the specified window.
The
hline() function draws a horizontal line of the character
ch on
stdscr starting at the current cursor position and extending for
n characters, or until the right hand side of
stdscr is reached. If the text portion of
ch is 0 then the line will be drawn with the
ACS_HLINE character.
The
whline() function is the same as the
hline() function, excepting that the line is drawn in the window specified by
win.
The
vline() function draws a vertical line of character
ch on
stdscr starting at the current cursor position and moving down until either
n characters have been drawn or the bottom of
stdscr is reached. If the text portion of
ch is 0 then the line will be drawn with the
ACS_VLINE character.
The
wvline() function is the same as the
vline() function, excepting that the line is drawn on the given window.
The
mvhline(),
mvwhline(),
mvvline() and
mvwvline() functions are the same as the
hline(),
whline(),
vline() and
wvline() functions, respectively, excepting that
wmove() is called to move the cursor to the position specified by
y,
x before the line is drawn on the window.