src/vs/workbench/contrib/terminal/browser/terminalActions.ts/validateTerminalName
export function validateTerminalName(name: string): { content: string, severity: Severity } | null {
	if (!name || name.trim().length === 0) {
		return {
			content: localize('emptyTerminalNameError', "A name must be provided."),
			severity: Severity.Error
		};
	}

	return null;
}