git-svn-id: https://klish.googlecode.com/svn/trunk@149 0eaa4687-2ee9-07dd-09d9-bcdd2d2dd5fb
@@ -26,6 +26,7 @@ typedef enum {
typedef enum {
CLISH_RESTORE_NONE,
+ CLISH_RESTORE_ALREADY,
CLISH_RESTORE_DEPTH,
CLISH_RESTORE_VIEW
} clish_nspace_restore_t;
@@ -25,6 +25,7 @@ static void clish_nspace_init(clish_nspace_t * this, clish_view_t * view)
this->completion = BOOL_TRUE;
this->context_help = BOOL_FALSE;
this->inherit = BOOL_TRUE;
+ this->restore = CLISH_RESTORE_NONE;
/* initialise the tree of commands links for this nspace */
lub_bintree_init(&this->tree,