Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
TICKIT_TERM_GET_SIZE(3)     Library Functions Manual	 TICKIT_TERM_GET_SIZE(3)

NAME
     tickit_term_get_size, tickit_term_set_size, tickit_term_refresh_size - man-
     age terminal size

SYNOPSIS
     #include <tickit.h>

     void tickit_term_get_size(TickitTerm *tt, int *lines, int *cols);
     void tickit_term_set_size(TickitTerm *tt, int lines, int cols);
     void tickit_term_refresh_size(TickitTerm *tt);

     Link with -ltickit.

DESCRIPTION
     tickit_term_get_size()  fetches  the  currently-known  size of the terminal
     into the two integers supplied by pointers.

     tickit_term_set_size() stores a new size for  the	terminal  into	the  in-
     stance, and invokes any TICKIT_EV_RESIZE event handlers.

     tickit_term_refresh_size()  queries  the  size of the terminal by using the
     TIOCGWINSZ ioctl(2) call on the currently-associated output filehandle, and
     invokes any TICKIT_EV_RESIZE event handlers if the size has changed.

RETURN VALUE
     tickit_term_get_size, tickit_term_set_size and tickit_term_refresh_size re-
     turn no value.

SEE ALSO
     tickit_term_build(3),    tickit_term_goto(3),    tickit_term_bind_event(3),
     tickit_term(7), tickit(7)

							 TICKIT_TERM_GET_SIZE(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=tickit_term_set_size&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help