Flexible Windows

version 13/130803 by Jon Ingold

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Setting the cursor

    To position the cursor in (g - a g-window) at row (y - a number) column (x - a number):
    (- SetCursorTo({g}, {x}, {y}); -).

    Include (-

    [ SetCursorTo win row col;
        if (win has g_present)
            glk($002B, win.ref_number, row-1, col-1); ! window_move_cursor
    ];

    -).