Example: TE_getvar

In the following example, the TE_getvar function determines the size of the terminal emulator screen.

    int height;
    int TE_HEIGHT;
    int width;
    int TE_WIDTH;
    height = TE_getvar (TE_HEIGHT); 
    width = TE_getvar (TE_WIDTH);;