Diff

Differences From Artifact [a4f47e0136]:

To Artifact [6f26c1a3c8]:


398
399
400
401
402
403
404


405
406
407
408
409
410
411
 */
static void pty_size(void)
{
    struct winsize size;

    size.ws_row = (unsigned short)rows;
    size.ws_col = (unsigned short)cols;


    ioctl(pty_master_fd, TIOCSWINSZ, (void *)&size);
    return;
}

/*
 * Send special codes.
 */







>
>







398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
 */
static void pty_size(void)
{
    struct winsize size;

    size.ws_row = (unsigned short)rows;
    size.ws_col = (unsigned short)cols;
    size.ws_xpixel = (unsigned short) cols * font_dimension(0);
    size.ws_ypixel = (unsigned short) rows * font_dimension(1);
    ioctl(pty_master_fd, TIOCSWINSZ, (void *)&size);
    return;
}

/*
 * Send special codes.
 */