.TH TICKIT_TERM_GET_SIZE 3 .SH NAME tickit_term_get_size, tickit_term_set_size, tickit_term_refresh_size \- manage terminal size .SH SYNOPSIS .EX .B #include .sp .BI "void tickit_term_get_size(TickitTerm *" tt ", int *" lines ", int *" cols ); .BI "void tickit_term_set_size(TickitTerm *" tt ", int " lines ", int " cols ); .BI "void tickit_term_refresh_size(TickitTerm *" tt ); .EE .sp Link with \fI-ltickit\fP. .SH DESCRIPTION \fBtickit_term_get_size\fP() fetches the currently-known size of the terminal into the two integers supplied by pointers. .PP \fBtickit_term_set_size\fP() stores a new size for the terminal into the instance, and invokes any \fBTICKIT_EV_RESIZE\fP event handlers. .PP \fBtickit_term_refresh_size\fP() queries the size of the terminal by using the \fBTIOCGWINSZ\fP \fBioctl\fP(2) call on the currently-associated output filehandle, and invokes any \fBTICKIT_EV_RESIZE\fP event handlers if the size has changed. .SH "RETURN VALUE" \fBtickit_term_get_size\fP, \fBtickit_term_set_size\fP and \fBtickit_term_refresh_size\fP return no value. .SH "SEE ALSO" .BR tickit_term_build (3), .BR tickit_term_goto (3), .BR tickit_term_bind_event (3), .BR tickit_term (7), .BR tickit (7)