ctrl-d segfaults
because the vte instance closes and sends this signal "child-exited" the callback function gets a NULL pointer for the screen.
static void terminal_screen_vte_child_exited (VteTerminal *terminal, TerminalScreen *screen) { terminal_return_if_fail (VTE_IS_TERMINAL (terminal)); terminal_return_if_fail (TERMINAL_IS_SCREEN (screen));
if (G_LIKELY (!screen->hold)) gtk_widget_destroy (GTK_WIDGET (screen)); }
vte return the status in the callback function instead of the screen itself? I cannot figure this out,