From 78b15e980e97066c2a608b9ec3123cb920aaa542 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Thu, 28 Aug 2025 11:50:36 +0600 Subject: [PATCH 1/2] Terminal do not clean on cancel --- source/ubl-settings-kernel.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/ubl-settings-kernel.c b/source/ubl-settings-kernel.c index 66936c2..d42ba0a 100644 --- a/source/ubl-settings-kernel.c +++ b/source/ubl-settings-kernel.c @@ -1508,7 +1508,6 @@ void on_boot_toggled(GtkWidget *, char *path, main_window *widgets){ void on_terminal_cancel(GtkWidget *,main_window *widgets){ vte_terminal_feed_child(VTE_TERMINAL(widgets->InstallTerminal), "\x03", 1); - vte_terminal_reset(VTE_TERMINAL(widgets->InstallTerminal),1,1); yon_launch(pacman_unlock_database_command); } From 6f7ad5d66001dbd1319a01d571004efa6cc306ee Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Thu, 28 Aug 2025 14:21:43 +0600 Subject: [PATCH 2/2] Fixed package deletion --- source/ubl-settings-kernel.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/ubl-settings-kernel.c b/source/ubl-settings-kernel.c index d42ba0a..e8f880f 100644 --- a/source/ubl-settings-kernel.c +++ b/source/ubl-settings-kernel.c @@ -771,6 +771,17 @@ void on_package_remove_accept(GtkWidget *, dictionary *dict){ char *package; gtk_tree_model_get(GTK_TREE_MODEL(window->liststore1),&iter,0,&status,1,&package,-1); if (status){ + + if (strstr(package,"\n")){ + int parsed_size; + config_str parsed = yon_char_parse(package,&parsed_size,"\n"); + package = ""; + for (int i=0;i