update terminal interface and add removeBundleKeysForOtherTabs option;