mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 06:35:24 +00:00
feat(split-screen): redesign split screen with free-form panes and pane picker
This commit is contained in:
1 parent
5f3372f9f6
commit
81e7aa6274
46 files changed
+5027
-2537
No files matched your search
@@ -3088,6 +3088,7 @@ const TerminalInner = forwardRef<TerminalHandle, SSHTerminalProps>(
|
||||
"BracketLeft",
|
||||
"Backslash",
|
||||
"Minus",
|
||||
"Enter",
|
||||
];
|
||||
if (globalCodes.includes(e.code)) {
|
||||
e.stopPropagation();
|
||||
|
||||
@@ -54,6 +54,7 @@ export function TerminalTabContent({
|
||||
label,
|
||||
isVisible,
|
||||
isFocusedPane,
|
||||
inSplit = false,
|
||||
handleRef,
|
||||
shell,
|
||||
}: TabProps) {
|
||||
@@ -98,7 +99,7 @@ export function TerminalTabContent({
|
||||
initialPath={tab.data?.initialPath ?? tab.initialFilePath}
|
||||
title={label}
|
||||
showTitle={false}
|
||||
splitScreen={false}
|
||||
splitScreen={inSplit}
|
||||
onClose={() => shell.closeTab(tab.id)}
|
||||
onTitleChange={
|
||||
host.terminalConfig?.useSSHTitle
|
||||
|
||||
Reference in new issue
Block a user