private void createRootTerminal() {
assert (root == null);
disableMenuItem(MENU_RESPAWN_ROOT);
+ enableMenuItem(MENU_SPLIT_VERTICAL);
+ enableMenuItem(MENU_SPLIT_HORIZONTAL);
root = createTerminal();
}
} else {
source.getApplication().enableMenuItem(
MENU_RESPAWN_ROOT);
+ source.getApplication().disableMenuItem(
+ MENU_SPLIT_VERTICAL);
+ source.getApplication().disableMenuItem(
+ MENU_SPLIT_HORIZONTAL);
source.remove();
root = null;
}