ldisc_send(inst->ldisc, NULL, 0, 0);
if (inst->ldisc) ldisc_send(inst->ldisc, NULL, 0, 0);
void reset_terminal_menuitem(GtkMenuItem *item, gpointer data){    struct gui_data *inst = (struct gui_data *)data;    term_pwron(inst->term);    ldisc_send(inst->ldisc, NULL, 0, 0);}