/sys$common/syshlp/HELPLIB.HLB  —  CRTL  mv[w]addch
    Move the cursor to coordinates (y,x) and add a character to the
    specified window.

    Format

      #include  <curses.h>

      int mvaddch  (int y, int x, char ch);

      int mvwaddch  (WINDOW *win, int y, int x, char ch);

1  –  Arguments

 win

    A pointer to the window.

 y

    A window coordinate.

 x

    A window coordinate.

 ch

    If this argument is a new-line character (\n), the mvaddch and
    mvwaddch functions clear the line to the end, and move the cursor
    to the next line at the same x coordinate. A carriage return (\r)
    moves the cursor to the beginning of the specified line. A tab
    (\t) moves the cursor to the next tabstop within the window.

2  –  Description

    This routine performs the same function as mvwaddch, but on the
    stdscr window.

    When mvwaddch is used on a subwindow, it writes the character
    onto the underlying window as well.

3  –  Return Values

    OK                 Indicates success.
    ERR                Indicates that writing the character would
                       cause the screen to scroll illegally. For more
                       information, see the scrollok function.
Close Help