Fixed driver installation cancelling

pull/148/head
parent c4e57a03d0
commit 33dc651182
No known key found for this signature in database
GPG Key ID: FF1D842BF4DDE92B

@ -74,7 +74,7 @@ void on_terminal_done(GtkWidget *, int , main_window *widgets){
const char cancel_signal = 3;
char *command = yon_char_new(" ");
command[0]=cancel_signal;
char *tmp = yon_char_unite(command,"; exit 0\n",NULL);
char *tmp = yon_char_unite(command,"\n exit 0\n",NULL);
on_pacman_db_unlock();
free(command);
vte_terminal_feed_child(VTE_TERMINAL(widgets->InstallTerminal),tmp,strlen(tmp));

Loading…
Cancel
Save