mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 06:35:24 +00:00
fix: proxmox guest sync, startup snippet sync, drop dead cloudflare ssh transport
This commit is contained in:
1 parent
44062e30d1
commit
ffa872ebd3
19 files changed
+270
-292
No files matched your search
@@ -3,7 +3,7 @@ import type { KeyCombo } from "@/types/keybindings";
|
||||
export interface DefaultKeybindingInfo {
|
||||
id: string;
|
||||
combo: KeyCombo;
|
||||
description: string;
|
||||
descriptionKey: string;
|
||||
}
|
||||
|
||||
export const BUILT_IN_DEFAULTS: DefaultKeybindingInfo[] = [
|
||||
@@ -17,7 +17,7 @@ export const BUILT_IN_DEFAULTS: DefaultKeybindingInfo[] = [
|
||||
shift: false,
|
||||
meta: false,
|
||||
},
|
||||
description: "Copy selection (Ctrl+C, only when text is selected)",
|
||||
descriptionKey: "newUi.sidebar.keybindings.builtIn.copyCtrlC",
|
||||
},
|
||||
{
|
||||
id: "default-copy-ctrlshiftc",
|
||||
@@ -29,7 +29,7 @@ export const BUILT_IN_DEFAULTS: DefaultKeybindingInfo[] = [
|
||||
shift: true,
|
||||
meta: false,
|
||||
},
|
||||
description: "Copy selection (Ctrl+Shift+C)",
|
||||
descriptionKey: "newUi.sidebar.keybindings.builtIn.copyCtrlShiftC",
|
||||
},
|
||||
{
|
||||
id: "default-copy-cmdc",
|
||||
@@ -41,7 +41,7 @@ export const BUILT_IN_DEFAULTS: DefaultKeybindingInfo[] = [
|
||||
shift: false,
|
||||
meta: true,
|
||||
},
|
||||
description: "Copy selection (Cmd+C)",
|
||||
descriptionKey: "newUi.sidebar.keybindings.builtIn.copyCmdC",
|
||||
},
|
||||
{
|
||||
id: "default-paste-ctrlshiftv",
|
||||
@@ -53,7 +53,7 @@ export const BUILT_IN_DEFAULTS: DefaultKeybindingInfo[] = [
|
||||
shift: true,
|
||||
meta: false,
|
||||
},
|
||||
description: "Paste from clipboard (Ctrl+Shift+V)",
|
||||
descriptionKey: "newUi.sidebar.keybindings.builtIn.pasteCtrlShiftV",
|
||||
},
|
||||
{
|
||||
id: "default-ctrlaltw",
|
||||
@@ -65,7 +65,7 @@ export const BUILT_IN_DEFAULTS: DefaultKeybindingInfo[] = [
|
||||
shift: false,
|
||||
meta: false,
|
||||
},
|
||||
description: "Send Ctrl+W to shell (blocked from closing browser tab)",
|
||||
descriptionKey: "newUi.sidebar.keybindings.builtIn.ctrlW",
|
||||
},
|
||||
{
|
||||
id: "default-ctrlaltt",
|
||||
@@ -77,7 +77,7 @@ export const BUILT_IN_DEFAULTS: DefaultKeybindingInfo[] = [
|
||||
shift: false,
|
||||
meta: false,
|
||||
},
|
||||
description: "Send Ctrl+T to shell (blocked from opening browser tab)",
|
||||
descriptionKey: "newUi.sidebar.keybindings.builtIn.ctrlT",
|
||||
},
|
||||
{
|
||||
id: "default-ctrlaltn",
|
||||
@@ -89,7 +89,7 @@ export const BUILT_IN_DEFAULTS: DefaultKeybindingInfo[] = [
|
||||
shift: false,
|
||||
meta: false,
|
||||
},
|
||||
description: "Send Ctrl+N to shell (blocked from opening browser window)",
|
||||
descriptionKey: "newUi.sidebar.keybindings.builtIn.ctrlN",
|
||||
},
|
||||
{
|
||||
id: "default-ctrlaltq",
|
||||
@@ -101,6 +101,6 @@ export const BUILT_IN_DEFAULTS: DefaultKeybindingInfo[] = [
|
||||
shift: false,
|
||||
meta: false,
|
||||
},
|
||||
description: "Send Ctrl+Q to shell (blocked from quitting browser)",
|
||||
descriptionKey: "newUi.sidebar.keybindings.builtIn.ctrlQ",
|
||||
},
|
||||
];
|
||||
@@ -815,22 +815,26 @@ export function resolveTerminalFontFamily(fontFamily?: string): string {
|
||||
}
|
||||
|
||||
export const CURSOR_STYLES = [
|
||||
{ value: "block", label: "Block" },
|
||||
{ value: "underline", label: "Underline" },
|
||||
{ value: "bar", label: "Bar" },
|
||||
{ value: "block", label: "Block", labelKey: "hosts.cursorStyleBlock" },
|
||||
{
|
||||
value: "underline",
|
||||
label: "Underline",
|
||||
labelKey: "hosts.cursorStyleUnderline",
|
||||
},
|
||||
{ value: "bar", label: "Bar", labelKey: "hosts.cursorStyleBar" },
|
||||
] as const;
|
||||
|
||||
export const BELL_STYLES = [
|
||||
{ value: "none", label: "None" },
|
||||
{ value: "sound", label: "Sound" },
|
||||
{ value: "visual", label: "Visual" },
|
||||
{ value: "both", label: "Both" },
|
||||
{ value: "none", label: "None", labelKey: "hosts.bellStyleNone" },
|
||||
{ value: "sound", label: "Sound", labelKey: "hosts.bellStyleSound" },
|
||||
{ value: "visual", label: "Visual", labelKey: "hosts.bellStyleVisual" },
|
||||
{ value: "both", label: "Both", labelKey: "hosts.bellStyleBoth" },
|
||||
] as const;
|
||||
|
||||
export const FAST_SCROLL_MODIFIERS = [
|
||||
{ value: "alt", label: "Alt" },
|
||||
{ value: "ctrl", label: "Ctrl" },
|
||||
{ value: "shift", label: "Shift" },
|
||||
{ value: "alt", label: "Alt", labelKey: "hosts.fastScrollModifierAlt" },
|
||||
{ value: "ctrl", label: "Ctrl", labelKey: "hosts.fastScrollModifierCtrl" },
|
||||
{ value: "shift", label: "Shift", labelKey: "hosts.fastScrollModifierShift" },
|
||||
] as const;
|
||||
|
||||
export const DEFAULT_TERMINAL_CONFIG = {
|
||||
|
||||
Reference in new issue
Block a user