src/vs/workbench/contrib/terminal/browser/terminalInstance.ts/TerminalInstanceDragAndDropController/_getViewOrientation
class TerminalInstanceDragAndDropController:	private _getViewOrientation(): Orientation {
		const panelPosition = this._layoutService.getPanelPosition();
		const terminalLocation = this._viewDescriptorService.getViewLocationById(TERMINAL_VIEW_ID);
		return terminalLocation === ViewContainerLocation.Panel && panelPosition === Position.BOTTOM
			? Orientation.HORIZONTAL
			: Orientation.VERTICAL;
	}