tickit_term_scrollrect(3)

tickit_term_scrollrect3

Scroll a region of the terminal

Usage

#include <tickit.h>

bool tickit_term_scrollrect(TickitTerm *tt, TickitRect rect,
    int downward, int rightward);

Link with -ltickit.

Overview

tickit_term_scrollrect() attempts to scroll a rectangular region of the terminal by a given offset, efficiently moving content within the display. Whether or not this is possible depends on the type of terminal and what region and offset were specified. This function returns a true value if this operation was successful. If it was not possible to perform the scroll, it will return false without modifying the terminal. In this situation, the application must fall back to re-drawing the affected region with new content.

Return value

tickit_term_scrollrect() returns a boolean indicating if the scrolling operation was successful.

Releases

4 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10
  2. 11–13

From libtickit-dev 0.4.3-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.