Diff

Differences From Artifact [4f1282d052]:

To Artifact [2b77136258]:


1957
1958
1959
1960
1961
1962
1963


1964
1965
1966
1967
1968
1969
1970
    inst->currcursor = inst->textcursor;
    show_mouseptr(1);

    term = term_init();

    back = &pty_backend;
    back->init((void *)term, &backhandle, NULL, 0, NULL, 0);



    term_size(term, cfg.height, cfg.width, cfg.savelines);
    ldisc_send(NULL, 0, 0);	       /* cause ldisc to notice changes */

    inst->master_fd = pty_master_fd;
    inst->exited = FALSE;
    inst->master_func_id = gdk_input_add(pty_master_fd, GDK_INPUT_READ,







>
>







1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
    inst->currcursor = inst->textcursor;
    show_mouseptr(1);

    term = term_init();

    back = &pty_backend;
    back->init((void *)term, &backhandle, NULL, 0, NULL, 0);

    term_provide_resize_fn(term, back->size, backhandle);

    term_size(term, cfg.height, cfg.width, cfg.savelines);
    ldisc_send(NULL, 0, 0);	       /* cause ldisc to notice changes */

    inst->master_fd = pty_master_fd;
    inst->exited = FALSE;
    inst->master_func_id = gdk_input_add(pty_master_fd, GDK_INPUT_READ,