|
@@ -238,6 +238,22 @@ const clish_command_t *clish_nspace_find_next_completion(clish_nspace_t * this,
|
|
|
return retval;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+void clish_nspace_clean_proxy(clish_nspace_t * this)
|
|
|
+{
|
|
|
+ clish_command_t *cmd = NULL;
|
|
|
+
|
|
|
+
|
|
|
+ clish_view_clean_proxy(this->view);
|
|
|
+
|
|
|
+ while ((cmd = lub_bintree_findfirst(&this->tree))) {
|
|
|
+
|
|
|
+ lub_bintree_remove(&this->tree, cmd);
|
|
|
+
|
|
|
+ clish_command_delete(cmd);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
|
|
|
* PUBLIC ATTRIBUTES
|
|
|
*--------------------------------------------------------- */
|