diff --git a/AGENTS.md b/AGENTS.md index fac8cd6..4fa3ac5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -4,7 +4,7 @@ A comprehensive guide for AI agents working on the multi-ssh project, providing ## Project Overview -multi-ssh is an electron app +multi-ssh is an electron app allowing to connect to multiple ssh hosts at the same time wich one separate embedded terminal per session. ## General Guidelines diff --git a/biome.json b/biome.json index 7ecf148..9f30ef4 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/2.3.3/schema.json", + "$schema": "https://biomejs.dev/schemas/2.3.4/schema.json", "root": true, "vcs": { "enabled": true, diff --git a/forge.config.js b/forge.config.js index acec2ab..b8b043c 100644 --- a/forge.config.js +++ b/forge.config.js @@ -5,9 +5,7 @@ module.exports = { appBundleId: "com.github.guenhter.multi-ssh", productName: "Multi SSH", files: ["main.js", "renderer.js", "index.html", "node_modules/**/*"], - extraResource: [ - "multi_ssh_config.sample.yaml" - ], + extraResource: ["multi_ssh_config.sample.yaml"], }, rebuildConfig: {}, makers: [ diff --git a/index.html b/index.html index 7de0605..8afcab7 100644 --- a/index.html +++ b/index.html @@ -45,6 +45,20 @@ padding-right: 5px; /* Account for scrollbar */ } + /* Very wide main scrollbar to make it easy to grab the scrollbar and not use the one from the sub-terminal */ + .terminals-container::-webkit-scrollbar { + width: 30px; + } + + .terminals-container::-webkit-scrollbar-thumb { + background: #888; + border-radius: 10px; + } + + .terminals-container::-webkit-scrollbar-track { + background: #333; + } + .terminal-wrapper { border: 2px solid #444; border-radius: 8px; diff --git a/main.js b/main.js index 3cf2961..48fc2ba 100644 --- a/main.js +++ b/main.js @@ -164,6 +164,7 @@ function initializeTerminal(index, shell, host) { code: exitCode, signal, }); + ptyProcesses[index] = null; }); ptyProcesses[index] = ptyProcess;