Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot[bot]
bfcdc1a0d6 build(deps-dev): bump bootstrap in /tabby-core
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 5.3.0-alpha1 to 5.3.2.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v5.3.0-alpha1...v5.3.2)

---
updated-dependencies:
- dependency-name: bootstrap
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-15 05:01:25 +00:00
27 changed files with 286 additions and 392 deletions

View File

@@ -1229,15 +1229,6 @@
"contributions": [
"code"
]
},
{
"login": "nwalser",
"name": "Nathaniel Walser",
"avatar_url": "https://avatars.githubusercontent.com/u/33339996?v=4",
"profile": "https://www.nathaniel-walser.com",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,

1
.env
View File

@@ -1 +0,0 @@
# TABBY_CONFIG_DIRECTORY="PATH_TO_DIRECTORY"

View File

@@ -329,7 +329,6 @@ Dank geht an diese wunderbaren Menschen ([emoji key](https://allcontributors.org
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://siebsie23.nl/"><img src="https://avatars.githubusercontent.com/u/25083973?v=4?s=100" width="100px;" alt="Sibren"/><br /><sub><b>Sibren</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=siebsie23" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.nathaniel-walser.com"><img src="https://avatars.githubusercontent.com/u/33339996?v=4?s=100" width="100px;" alt="Nathaniel Walser"/><br /><sub><b>Nathaniel Walser</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=nwalser" title="Code">💻</a></td>
</tr>
</tbody>
</table>

View File

@@ -331,7 +331,6 @@ Gracias a estas maravillosas personas ([emoji key](https://allcontributors.org/d
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://siebsie23.nl/"><img src="https://avatars.githubusercontent.com/u/25083973?v=4?s=100" width="100px;" alt="Sibren"/><br /><sub><b>Sibren</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=siebsie23" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.nathaniel-walser.com"><img src="https://avatars.githubusercontent.com/u/33339996?v=4?s=100" width="100px;" alt="Nathaniel Walser"/><br /><sub><b>Nathaniel Walser</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=nwalser" title="Code">💻</a></td>
</tr>
</tbody>
</table>

View File

@@ -328,7 +328,6 @@ Terima kasih kepada mereka yang telah membantu ([emoji key](https://allcontribut
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://siebsie23.nl/"><img src="https://avatars.githubusercontent.com/u/25083973?v=4?s=100" width="100px;" alt="Sibren"/><br /><sub><b>Sibren</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=siebsie23" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.nathaniel-walser.com"><img src="https://avatars.githubusercontent.com/u/33339996?v=4?s=100" width="100px;" alt="Nathaniel Walser"/><br /><sub><b>Nathaniel Walser</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=nwalser" title="Code">💻</a></td>
</tr>
</tbody>
</table>

View File

@@ -324,7 +324,6 @@ Grazie a queste persone meravigliose ([emoji key](https://allcontributors.org/do
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://siebsie23.nl/"><img src="https://avatars.githubusercontent.com/u/25083973?v=4?s=100" width="100px;" alt="Sibren"/><br /><sub><b>Sibren</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=siebsie23" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.nathaniel-walser.com"><img src="https://avatars.githubusercontent.com/u/33339996?v=4?s=100" width="100px;" alt="Nathaniel Walser"/><br /><sub><b>Nathaniel Walser</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=nwalser" title="Code">💻</a></td>
</tr>
</tbody>
</table>

View File

@@ -339,7 +339,6 @@ Windows上では、`Tabby.exe`がある場所と同じ場所に`data`フォル
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://siebsie23.nl/"><img src="https://avatars.githubusercontent.com/u/25083973?v=4?s=100" width="100px;" alt="Sibren"/><br /><sub><b>Sibren</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=siebsie23" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.nathaniel-walser.com"><img src="https://avatars.githubusercontent.com/u/33339996?v=4?s=100" width="100px;" alt="Nathaniel Walser"/><br /><sub><b>Nathaniel Walser</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=nwalser" title="Code">💻</a></td>
</tr>
</tbody>
</table>

View File

@@ -318,7 +318,6 @@ Pull requests and plugins are welcome!
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://siebsie23.nl/"><img src="https://avatars.githubusercontent.com/u/25083973?v=4?s=100" width="100px;" alt="Sibren"/><br /><sub><b>Sibren</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=siebsie23" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.nathaniel-walser.com"><img src="https://avatars.githubusercontent.com/u/33339996?v=4?s=100" width="100px;" alt="Nathaniel Walser"/><br /><sub><b>Nathaniel Walser</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=nwalser" title="Code">💻</a></td>
</tr>
</tbody>
</table>

View File

@@ -139,7 +139,6 @@ Plugins and themes can be installed directly from the Settings view inside Tabby
* [gruvbox](https://github.com/porkloin/terminus-theme-gruvbox)
* [windows10](https://www.npmjs.com/package/terminus-theme-windows10)
* [altair](https://github.com/yxuko/terminus-altair)
* [catppuccin](https://github.com/catppuccin/tabby) - Soothing pastel theme for Tabby
# Sponsors <!-- omit in toc -->
@@ -341,7 +340,6 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://siebsie23.nl/"><img src="https://avatars.githubusercontent.com/u/25083973?v=4?s=100" width="100px;" alt="Sibren"/><br /><sub><b>Sibren</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=siebsie23" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.nathaniel-walser.com"><img src="https://avatars.githubusercontent.com/u/33339996?v=4?s=100" width="100px;" alt="Nathaniel Walser"/><br /><sub><b>Nathaniel Walser</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=nwalser" title="Code">💻</a></td>
</tr>
</tbody>
</table>

View File

@@ -332,7 +332,6 @@ Obrigado vai para essas pessoas maravilhosas ([emoji key](https://allcontributor
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://siebsie23.nl/"><img src="https://avatars.githubusercontent.com/u/25083973?v=4?s=100" width="100px;" alt="Sibren"/><br /><sub><b>Sibren</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=siebsie23" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.nathaniel-walser.com"><img src="https://avatars.githubusercontent.com/u/33339996?v=4?s=100" width="100px;" alt="Nathaniel Walser"/><br /><sub><b>Nathaniel Walser</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=nwalser" title="Code">💻</a></td>
</tr>
</tbody>
</table>

View File

@@ -324,7 +324,6 @@ Pull-запросы и плагины приветствуются!
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://siebsie23.nl/"><img src="https://avatars.githubusercontent.com/u/25083973?v=4?s=100" width="100px;" alt="Sibren"/><br /><sub><b>Sibren</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=siebsie23" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.nathaniel-walser.com"><img src="https://avatars.githubusercontent.com/u/33339996?v=4?s=100" width="100px;" alt="Nathaniel Walser"/><br /><sub><b>Nathaniel Walser</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=nwalser" title="Code">💻</a></td>
</tr>
</tbody>
</table>

View File

@@ -323,7 +323,6 @@
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://siebsie23.nl/"><img src="https://avatars.githubusercontent.com/u/25083973?v=4?s=100" width="100px;" alt="Sibren"/><br /><sub><b>Sibren</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=siebsie23" title="Code">💻</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://www.nathaniel-walser.com"><img src="https://avatars.githubusercontent.com/u/33339996?v=4?s=100" width="100px;" alt="Nathaniel Walser"/><br /><sub><b>Nathaniel Walser</b></sub></a><br /><a href="https://github.com/Eugeny/tabby/commits?author=nwalser" title="Code">💻</a></td>
</tr>
</tbody>
</table>

View File

@@ -1,14 +1,13 @@
import * as fs from 'fs'
import * as path from 'path'
import * as yaml from 'js-yaml'
import { app } from 'electron'
import { writeFile } from 'atomically'
export const configPath = path.join(process.env.TABBY_CONFIG_DIRECTORY!, 'config.yaml')
const legacyConfigPath = path.join(process.env.TABBY_CONFIG_DIRECTORY!, '../terminus', 'config.yaml')
export function migrateConfig (): void {
const configPath = path.join(app.getPath('userData'), 'config.yaml')
const legacyConfigPath = path.join(app.getPath('userData'), '../terminus', 'config.yaml')
if (fs.existsSync(legacyConfigPath) && (
!fs.existsSync(configPath) ||
fs.statSync(configPath).mtime < fs.statSync(legacyConfigPath).mtime
@@ -20,6 +19,7 @@ export function migrateConfig (): void {
export function loadConfig (): any {
migrateConfig()
const configPath = path.join(app.getPath('userData'), 'config.yaml')
if (fs.existsSync(configPath)) {
return yaml.load(fs.readFileSync(configPath, 'utf8'))
} else {
@@ -27,6 +27,8 @@ export function loadConfig (): any {
}
}
const configPath = path.join(app.getPath('userData'), 'config.yaml')
export async function saveConfig (content: string): Promise<void> {
await writeFile(configPath, content, { encoding: 'utf8' })
await writeFile(configPath + '.backup', content, { encoding: 'utf8' })

View File

@@ -1,21 +1,17 @@
import { app, ipcMain, Menu, dialog } from 'electron'
// set defaults of environment variables
import 'dotenv/config'
process.env.TABBY_PLUGINS ??= ''
process.env.TABBY_CONFIG_DIRECTORY ??= app.getPath('userData')
import 'v8-compile-cache'
import './portable'
import 'source-map-support/register'
import './sentry'
import './lru'
import { app, ipcMain, Menu, dialog } from 'electron'
import { parseArgs } from './cli'
import { Application } from './app'
import electronDebug = require('electron-debug')
import { loadConfig } from './config'
if (!process.env.TABBY_PLUGINS) {
process.env.TABBY_PLUGINS = ''
}
const argv = parseArgs(process.argv, process.cwd())

File diff suppressed because it is too large Load Diff

View File

@@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: tabby\n"
"Language-Team: Czech\n"
"Language: cs_CZ\n"
"PO-Revision-Date: 2023-09-07 15:05\n"
"PO-Revision-Date: 2023-08-03 08:25\n"
#: tabby-local/src/components/terminalTab.component.ts:113
msgid "\"{command}\" is still running. Close?"
@@ -175,7 +175,7 @@ msgstr "Typ pozadí"
#: locale/tmp-html/tabby-terminal/src/components/inputProcessingSettings.component.html:4
msgid "Backspace key mode"
msgstr "Režim klávesy Backspace"
msgstr ""
#: locale/tmp-html/tabby-serial/src/components/serialProfileSettings.component.html:14
#: tabby-serial/src/components/serialTab.component.ts:93
@@ -325,7 +325,7 @@ msgstr "Barevné schéma"
#: locale/tmp-html/tabby-terminal/src/components/colorSchemeSettingsTab.component.html:2
msgid "Color schemes"
msgstr "Barevná schémata"
msgstr ""
#: locale/tmp-html/tabby-ssh/src/components/sshProfileSettings.component.html:216
msgid "Colors"
@@ -493,7 +493,7 @@ msgstr "Vlastní CSS"
#: locale/tmp-html/tabby-terminal/src/components/colorSchemeSettingsTab.component.html:4
msgid "Dark mode"
msgstr "Tmavý režim"
msgstr ""
#: locale/tmp-html/tabby-serial/src/components/serialProfileSettings.component.html:26
msgid "Data bits"
@@ -513,11 +513,11 @@ msgstr "Snížit vodorovné rozdělení"
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:86
msgid "Default \"Connect to\" type"
msgstr "Výchozí typ připojení"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:87
msgid "Default connection type used by quick connect feature (ex. SSH, Telnet)"
msgstr "Výchozí typ připojení používaný funkcí rychlého připojení (např. SSH, Telnet)"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:8
msgid "Default profile for new tabs"
@@ -632,7 +632,7 @@ msgstr "Odpojit"
#: tabby-terminal/src/hotkeys.ts:106
msgid "Disconnect current tab (Serial/Telnet/SSH)"
msgstr "Odpojit aktuální kartu (Serial/Telnet/SSH)"
msgstr ""
#: tabby-ssh/src/components/sshTab.component.ts:202
#: tabby-telnet/src/components/telnetTab.component.ts:81
@@ -982,7 +982,7 @@ msgstr "Hexadecimální"
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:43
msgid "Hide"
msgstr "Skrýt"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:176
msgid "Hide tab close button"
@@ -1070,7 +1070,7 @@ msgstr "Zvětšit svislé odsazení"
#: locale/tmp-html/tabby-ssh/src/components/sshProfileSettings.component.html:226
#: locale/tmp-html/tabby-telnet/src/components/telnetProfileSettings.component.html:21
msgid "Input"
msgstr "Příkaz"
msgstr ""
#: tabby-terminal/src/components/streamProcessingSettings.component.ts:18
msgid "Input is sent as you type"
@@ -1189,7 +1189,7 @@ msgstr "Nechat shell zpracovat Meta klávesu namísto OS"
#: locale/tmp-html/tabby-terminal/src/components/colorSchemeSettingsTab.component.html:9
msgid "Light mode"
msgstr "Světlý režim"
msgstr ""
#: tabby-terminal/src/components/streamProcessingSettings.component.ts:27
msgid "Line by line"
@@ -1400,7 +1400,7 @@ msgstr "Na GitHub Discussions"
#: locale/tmp-html/tabby-settings/src/components/editProfileModal.component.html:47
msgid "Only close the tab when session is explicitly terminated"
msgstr "Karta zůstane otevřená až do konce relace"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:46
msgid "Opacity"
@@ -1501,7 +1501,7 @@ msgstr "Částečná konfigurace není možná, pokud je konfigurace šifrována
#: tabby-terminal/src/components/inputProcessingSettings.component.ts:17
msgid "Pass-through"
msgstr "Kapacita"
msgstr ""
#: tabby-settings/src/components/vaultSettingsTab.component.ts:87
msgid "Passphrase for a private key with hash {hash}..."
@@ -1659,7 +1659,7 @@ msgstr "Obnovit připojení"
#: tabby-terminal/src/hotkeys.ts:102
msgid "Reconnect current tab (Serial/Telnet/SSH)"
msgstr "Obnovení připojení aktivní karty (Serial/Telnet/SSH)"
msgstr ""
#: tabby-core/src/utils.ts:64
msgid "Red"
@@ -1934,7 +1934,7 @@ msgstr "Integrace shellu"
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:44
msgid "Show"
msgstr "Ukázat"
msgstr ""
#: tabby-core/src/hotkeys.ts:276
msgid "Show {type} profile selector"
@@ -2416,7 +2416,7 @@ msgstr "Co je nového"
#: locale/tmp-html/tabby-settings/src/components/editProfileModal.component.html:46
msgid "When a session ends"
msgstr "Když skončí relace"
msgstr ""
#: locale/tmp-html/tabby-terminal/src/components/terminalSettingsTab.component.html:82
msgid "When enabled, links are only clickable while holding this key"

View File

@@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: tabby\n"
"Language-Team: French\n"
"Language: fr_FR\n"
"PO-Revision-Date: 2023-09-07 15:05\n"
"PO-Revision-Date: 2023-08-03 08:25\n"
#: tabby-local/src/components/terminalTab.component.ts:113
msgid "\"{command}\" is still running. Close?"
@@ -493,7 +493,7 @@ msgstr "CSS personnalisé"
#: locale/tmp-html/tabby-terminal/src/components/colorSchemeSettingsTab.component.html:4
msgid "Dark mode"
msgstr "Mode sombre"
msgstr ""
#: locale/tmp-html/tabby-serial/src/components/serialProfileSettings.component.html:26
msgid "Data bits"
@@ -632,7 +632,7 @@ msgstr "Déconnecter"
#: tabby-terminal/src/hotkeys.ts:106
msgid "Disconnect current tab (Serial/Telnet/SSH)"
msgstr "Déconnecter l'onglet actuel (Serial/Telnet/SSH)"
msgstr ""
#: tabby-ssh/src/components/sshTab.component.ts:202
#: tabby-telnet/src/components/telnetTab.component.ts:81
@@ -982,7 +982,7 @@ msgstr "Hexadécimal"
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:43
msgid "Hide"
msgstr "Masquer"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:176
msgid "Hide tab close button"
@@ -1070,7 +1070,7 @@ msgstr "Augmenter la taille de la séparation verticale"
#: locale/tmp-html/tabby-ssh/src/components/sshProfileSettings.component.html:226
#: locale/tmp-html/tabby-telnet/src/components/telnetProfileSettings.component.html:21
msgid "Input"
msgstr "Saisir"
msgstr ""
#: tabby-terminal/src/components/streamProcessingSettings.component.ts:18
msgid "Input is sent as you type"
@@ -1189,7 +1189,7 @@ msgstr "Laisser le shell gérer la Méta Key à la place de l'OS"
#: locale/tmp-html/tabby-terminal/src/components/colorSchemeSettingsTab.component.html:9
msgid "Light mode"
msgstr "Mode clair"
msgstr ""
#: tabby-terminal/src/components/streamProcessingSettings.component.ts:27
msgid "Line by line"
@@ -1659,7 +1659,7 @@ msgstr "Reconnecter"
#: tabby-terminal/src/hotkeys.ts:102
msgid "Reconnect current tab (Serial/Telnet/SSH)"
msgstr "Reconnecter l'onglet actuel (Serial/Telnet/SSH)"
msgstr ""
#: tabby-core/src/utils.ts:64
msgid "Red"
@@ -1934,7 +1934,7 @@ msgstr "Intégration au menu contextuel"
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:44
msgid "Show"
msgstr "Afficher"
msgstr ""
#: tabby-core/src/hotkeys.ts:276
msgid "Show {type} profile selector"
@@ -2416,7 +2416,7 @@ msgstr "Quoi de neuf"
#: locale/tmp-html/tabby-settings/src/components/editProfileModal.component.html:46
msgid "When a session ends"
msgstr "Quand une session se termine"
msgstr ""
#: locale/tmp-html/tabby-terminal/src/components/terminalSettingsTab.component.html:82
msgid "When enabled, links are only clickable while holding this key"

View File

@@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: tabby\n"
"Language-Team: Italian\n"
"Language: it_IT\n"
"PO-Revision-Date: 2023-09-07 15:05\n"
"PO-Revision-Date: 2023-08-03 08:25\n"
#: tabby-local/src/components/terminalTab.component.ts:113
msgid "\"{command}\" is still running. Close?"
@@ -175,7 +175,7 @@ msgstr "Tipo di sfondo"
#: locale/tmp-html/tabby-terminal/src/components/inputProcessingSettings.component.html:4
msgid "Backspace key mode"
msgstr "Modalità tasto backspace"
msgstr ""
#: locale/tmp-html/tabby-serial/src/components/serialProfileSettings.component.html:14
#: tabby-serial/src/components/serialTab.component.ts:93
@@ -325,7 +325,7 @@ msgstr "Tema del terminale"
#: locale/tmp-html/tabby-terminal/src/components/colorSchemeSettingsTab.component.html:2
msgid "Color schemes"
msgstr "Tema del terminale"
msgstr ""
#: locale/tmp-html/tabby-ssh/src/components/sshProfileSettings.component.html:216
msgid "Colors"
@@ -493,7 +493,7 @@ msgstr "CSS personalizzato"
#: locale/tmp-html/tabby-terminal/src/components/colorSchemeSettingsTab.component.html:4
msgid "Dark mode"
msgstr "Modalità scura"
msgstr ""
#: locale/tmp-html/tabby-serial/src/components/serialProfileSettings.component.html:26
msgid "Data bits"
@@ -513,11 +513,11 @@ msgstr "Riduci la divisione verticale"
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:86
msgid "Default \"Connect to\" type"
msgstr "\"Connetti a\" predefinito"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:87
msgid "Default connection type used by quick connect feature (ex. SSH, Telnet)"
msgstr "Tipo di connessione predefinito utilizzato dalla funzione di connessione rapida (es. SSH, Telnet)"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:8
msgid "Default profile for new tabs"
@@ -632,7 +632,7 @@ msgstr "Disconnetti"
#: tabby-terminal/src/hotkeys.ts:106
msgid "Disconnect current tab (Serial/Telnet/SSH)"
msgstr "Disconnetti la scheda corrente (Serial/Telnet/SSH)"
msgstr ""
#: tabby-ssh/src/components/sshTab.component.ts:202
#: tabby-telnet/src/components/telnetTab.component.ts:81
@@ -982,7 +982,7 @@ msgstr "Esadecimale"
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:43
msgid "Hide"
msgstr "Nascondi"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:176
msgid "Hide tab close button"
@@ -1070,7 +1070,7 @@ msgstr "Aumenta la divisione verticale"
#: locale/tmp-html/tabby-ssh/src/components/sshProfileSettings.component.html:226
#: locale/tmp-html/tabby-telnet/src/components/telnetProfileSettings.component.html:21
msgid "Input"
msgstr "Input"
msgstr ""
#: tabby-terminal/src/components/streamProcessingSettings.component.ts:18
msgid "Input is sent as you type"
@@ -1189,7 +1189,7 @@ msgstr "Consenti alla shell di definire il tasto Meta al posto del sistema opera
#: locale/tmp-html/tabby-terminal/src/components/colorSchemeSettingsTab.component.html:9
msgid "Light mode"
msgstr "Modalità chiara"
msgstr ""
#: tabby-terminal/src/components/streamProcessingSettings.component.ts:27
msgid "Line by line"
@@ -1400,7 +1400,7 @@ msgstr "Nelle discussioni di GitHub"
#: locale/tmp-html/tabby-settings/src/components/editProfileModal.component.html:47
msgid "Only close the tab when session is explicitly terminated"
msgstr "Chiude la scheda solo quando la sessione è esplicitamente terminata"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:46
msgid "Opacity"
@@ -1501,7 +1501,7 @@ msgstr "La sincronizzazione parziale della configurazione non è possibile quand
#: tabby-terminal/src/components/inputProcessingSettings.component.ts:17
msgid "Pass-through"
msgstr "Pass-through"
msgstr ""
#: tabby-settings/src/components/vaultSettingsTab.component.ts:87
msgid "Passphrase for a private key with hash {hash}..."
@@ -1659,7 +1659,7 @@ msgstr "Riconetti"
#: tabby-terminal/src/hotkeys.ts:102
msgid "Reconnect current tab (Serial/Telnet/SSH)"
msgstr "Riconnetti la scheda corrente (Serial/Telnet/SSH)"
msgstr ""
#: tabby-core/src/utils.ts:64
msgid "Red"
@@ -1934,7 +1934,7 @@ msgstr "Integrazione shell"
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:44
msgid "Show"
msgstr "Mostra"
msgstr ""
#: tabby-core/src/hotkeys.ts:276
msgid "Show {type} profile selector"
@@ -2416,7 +2416,7 @@ msgstr "Novità"
#: locale/tmp-html/tabby-settings/src/components/editProfileModal.component.html:46
msgid "When a session ends"
msgstr "Quando termina una sessione"
msgstr ""
#: locale/tmp-html/tabby-terminal/src/components/terminalSettingsTab.component.html:82
msgid "When enabled, links are only clickable while holding this key"

View File

@@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: tabby\n"
"Language-Team: Japanese\n"
"Language: ja_JP\n"
"PO-Revision-Date: 2023-09-07 15:05\n"
"PO-Revision-Date: 2023-08-07 20:37\n"
#: tabby-local/src/components/terminalTab.component.ts:113
msgid "\"{command}\" is still running. Close?"
@@ -43,7 +43,7 @@ msgstr "アクセシビリティ"
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:27
msgid "Acrylic background"
msgstr "アクリル風ウィンドウ"
msgstr "ウィンドウの透過"
#: locale/tmp-html/tabby-local/src/components/commandLineEditor.component.html:24
#: locale/tmp-html/tabby-local/src/components/environmentEditor.component.html:11
@@ -175,7 +175,7 @@ msgstr "透過の種類"
#: locale/tmp-html/tabby-terminal/src/components/inputProcessingSettings.component.html:4
msgid "Backspace key mode"
msgstr "BackSpaceキー"
msgstr ""
#: locale/tmp-html/tabby-serial/src/components/serialProfileSettings.component.html:14
#: tabby-serial/src/components/serialTab.component.ts:93
@@ -312,7 +312,7 @@ msgstr "右のタブを閉じる"
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:182
msgid "Close the window after closing the last tab"
msgstr "最後のタブを閉じたにウィンドウ閉じる"
msgstr "最後のタブを閉じたときにウィンドウ閉じる"
#: locale/tmp-html/tabby-settings/src/components/editProfileModal.component.html:33
#: tabby-core/src/tabContextMenu.ts:132
@@ -513,11 +513,11 @@ msgstr "垂直方向の分割サイズを縮小"
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:86
msgid "Default \"Connect to\" type"
msgstr "既定の接続"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:87
msgid "Default connection type used by quick connect feature (ex. SSH, Telnet)"
msgstr "クイック接続時にデフォルトで使用する接続の種類 (SSH、Telnetなど)"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:8
msgid "Default profile for new tabs"
@@ -575,7 +575,7 @@ msgstr "前の単語を削除"
#: tabby-settings/src/components/configSyncSettingsTab.component.ts:114
msgid "Delete the config on the remote side?"
msgstr "リモートの設定を消去しますか?"
msgstr "リモートの設定を消去しますか?"
#: tabby-settings/src/components/profilesSettingsTab.component.ts:225
msgid "Delete the group's profiles?"
@@ -632,7 +632,7 @@ msgstr "切断"
#: tabby-terminal/src/hotkeys.ts:106
msgid "Disconnect current tab (Serial/Telnet/SSH)"
msgstr "現在のタブを切断する (Serial/Telnet/SSH)"
msgstr ""
#: tabby-ssh/src/components/sshTab.component.ts:202
#: tabby-telnet/src/components/telnetTab.component.ts:81
@@ -831,7 +831,7 @@ msgstr "すべてのタブにフォーカスする"
#: tabby-terminal/src/hotkeys.ts:82
msgid "Focus all tabs at once (broadcast)"
msgstr "一度にすべてのタブにフォーカス (ブロードキャスト)"
msgstr "一度にすべてのタブにフォーカスする (ブロードキャスト)"
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:196
msgid "Focus follows mouse"
@@ -945,11 +945,11 @@ msgstr "インストール"
#: locale/tmp-html/tabby-settings/src/components/configSyncSettingsTab.component.html:18
msgid "Get it from the Tabby Web settings window"
msgstr "Tabby Web版の設定画面から確認することができます"
msgstr "Tabby Web版の設定画面から取得することができます"
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:29
msgid "Gives the window a blurred transparent background"
msgstr "ぼかしの入った透過ウィンドウに変更します"
msgstr "ウィンドウの背景を透過します"
#: locale/tmp-html/tabby-ssh/src/components/sftpPanel.component.html:24
msgid "Go up"
@@ -986,7 +986,7 @@ msgstr "非表示"
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:176
msgid "Hide tab close button"
msgstr "タブ閉じるボタンを非表示"
msgstr "タブ閉じるボタンを非表示"
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:158
msgid "Hide tab index"
@@ -1125,7 +1125,7 @@ msgstr "前の単語に移動"
#: tabby-terminal/src/components/loginScriptsSettings.component.ts:33
#: tabby-terminal/src/components/streamProcessingSettings.component.ts:49
msgid "Keep"
msgstr "持"
msgstr "持"
#: locale/tmp-html/tabby-ssh/src/components/sshProfileSettings.component.html:154
msgid "Keep Alive Interval (Milliseconds)"
@@ -1400,7 +1400,7 @@ msgstr "GitHub Discussions"
#: locale/tmp-html/tabby-settings/src/components/editProfileModal.component.html:47
msgid "Only close the tab when session is explicitly terminated"
msgstr "セッションが明確に終了した場合のみタブを閉じます"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:46
msgid "Opacity"
@@ -1473,7 +1473,7 @@ msgstr "リモートを上書きして同期"
#: tabby-settings/src/components/configSyncSettingsTab.component.ts:76
msgid "Overwrite the config on the remote side and start syncing?"
msgstr "リモートの設定を上書きして同期を開始しますか?"
msgstr "リモートの設定を上書きして同期を開始しますか?"
#: tabby-settings/src/components/configSyncSettingsTab.component.ts:96
msgid "Overwrite the local config and start syncing?"
@@ -1659,7 +1659,7 @@ msgstr "再接続"
#: tabby-terminal/src/hotkeys.ts:102
msgid "Reconnect current tab (Serial/Telnet/SSH)"
msgstr "現在のタブを再接続する (Serial/Telnet/SSH)"
msgstr ""
#: tabby-core/src/utils.ts:64
msgid "Red"
@@ -1926,7 +1926,7 @@ msgstr "シェル"
#: tabby-terminal/src/api/baseTerminalTab.component.ts:570
msgid "Shell does not support current path detection"
msgstr "シェルカレントパスの検出に対応していません"
msgstr "シェルカレントパスの検出に対応していません"
#: locale/tmp-html/tabby-settings/src/components/settingsTab.component.html:59
msgid "Shell integration"
@@ -2416,11 +2416,11 @@ msgstr "最新情報"
#: locale/tmp-html/tabby-settings/src/components/editProfileModal.component.html:46
msgid "When a session ends"
msgstr "セッション終了時"
msgstr ""
#: locale/tmp-html/tabby-terminal/src/components/terminalSettingsTab.component.html:82
msgid "When enabled, links are only clickable while holding this key"
msgstr "有効にすると、特定のキーを押しながらクリックした時のみリンク開けるようになります"
msgstr "有効にすると、特定のキーを押しながらクリックした時だけ、リンク開けるようにます"
#: locale/tmp-html/tabby-ssh/src/components/sshSettingsTab.component.html:18
msgid "When WinSCP is detected, you can launch an SCP session from the context menu."

View File

@@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: tabby\n"
"Language-Team: Swedish\n"
"Language: sv_SE\n"
"PO-Revision-Date: 2023-09-07 15:05\n"
"PO-Revision-Date: 2023-08-03 08:25\n"
#: tabby-local/src/components/terminalTab.component.ts:113
msgid "\"{command}\" is still running. Close?"
@@ -175,7 +175,7 @@ msgstr "Bakgrundstyp"
#: locale/tmp-html/tabby-terminal/src/components/inputProcessingSettings.component.html:4
msgid "Backspace key mode"
msgstr "Tangentläge för backsteg"
msgstr ""
#: locale/tmp-html/tabby-serial/src/components/serialProfileSettings.component.html:14
#: tabby-serial/src/components/serialTab.component.ts:93
@@ -325,7 +325,7 @@ msgstr "Färgschema"
#: locale/tmp-html/tabby-terminal/src/components/colorSchemeSettingsTab.component.html:2
msgid "Color schemes"
msgstr "Färgschema"
msgstr ""
#: locale/tmp-html/tabby-ssh/src/components/sshProfileSettings.component.html:216
msgid "Colors"
@@ -493,7 +493,7 @@ msgstr "Anpassad CSS"
#: locale/tmp-html/tabby-terminal/src/components/colorSchemeSettingsTab.component.html:4
msgid "Dark mode"
msgstr "Mörkt läge"
msgstr ""
#: locale/tmp-html/tabby-serial/src/components/serialProfileSettings.component.html:26
msgid "Data bits"
@@ -513,11 +513,11 @@ msgstr "Minska storlek på vertikalt delad vy"
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:86
msgid "Default \"Connect to\" type"
msgstr "Standardtyp \"Anslut till\""
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:87
msgid "Default connection type used by quick connect feature (ex. SSH, Telnet)"
msgstr "Standard anslutningstyp som används av snabbanslutningsfunktionen (ex. SSH, Telnet)"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:8
msgid "Default profile for new tabs"
@@ -632,7 +632,7 @@ msgstr "Koppla ifrån"
#: tabby-terminal/src/hotkeys.ts:106
msgid "Disconnect current tab (Serial/Telnet/SSH)"
msgstr "Koppla från aktuell flik (Serial/Telnet/SSH)"
msgstr ""
#: tabby-ssh/src/components/sshTab.component.ts:202
#: tabby-telnet/src/components/telnetTab.component.ts:81
@@ -982,7 +982,7 @@ msgstr "Hexadecimal"
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:43
msgid "Hide"
msgstr "Dölj"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:176
msgid "Hide tab close button"
@@ -1070,7 +1070,7 @@ msgstr "Öka storlek på vertikalt delad vy"
#: locale/tmp-html/tabby-ssh/src/components/sshProfileSettings.component.html:226
#: locale/tmp-html/tabby-telnet/src/components/telnetProfileSettings.component.html:21
msgid "Input"
msgstr "Inmatning"
msgstr ""
#: tabby-terminal/src/components/streamProcessingSettings.component.ts:18
msgid "Input is sent as you type"
@@ -1189,7 +1189,7 @@ msgstr "Låter skalet hantera Meta-nyckeln istället för OS"
#: locale/tmp-html/tabby-terminal/src/components/colorSchemeSettingsTab.component.html:9
msgid "Light mode"
msgstr "Ljust läge"
msgstr ""
#: tabby-terminal/src/components/streamProcessingSettings.component.ts:27
msgid "Line by line"
@@ -1400,7 +1400,7 @@ msgstr "På GitHub-diskussioner"
#: locale/tmp-html/tabby-settings/src/components/editProfileModal.component.html:47
msgid "Only close the tab when session is explicitly terminated"
msgstr "Stäng bara fliken när sessionen uttryckligen avslutas"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:46
msgid "Opacity"
@@ -1501,7 +1501,7 @@ msgstr "Delvis konfigurationssynkronisering är inte möjlig när konfiguratione
#: tabby-terminal/src/components/inputProcessingSettings.component.ts:17
msgid "Pass-through"
msgstr "Genomgång"
msgstr ""
#: tabby-settings/src/components/vaultSettingsTab.component.ts:87
msgid "Passphrase for a private key with hash {hash}..."
@@ -1659,7 +1659,7 @@ msgstr "Återanslut"
#: tabby-terminal/src/hotkeys.ts:102
msgid "Reconnect current tab (Serial/Telnet/SSH)"
msgstr "Återanslut aktuell flik (Serial/Telnet/SSH)"
msgstr ""
#: tabby-core/src/utils.ts:64
msgid "Red"
@@ -1934,7 +1934,7 @@ msgstr "Skalintegration"
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:44
msgid "Show"
msgstr "Visa"
msgstr ""
#: tabby-core/src/hotkeys.ts:276
msgid "Show {type} profile selector"
@@ -2416,7 +2416,7 @@ msgstr "Vad är nytt"
#: locale/tmp-html/tabby-settings/src/components/editProfileModal.component.html:46
msgid "When a session ends"
msgstr "När en session slutar"
msgstr ""
#: locale/tmp-html/tabby-terminal/src/components/terminalSettingsTab.component.html:82
msgid "When enabled, links are only clickable while holding this key"

View File

@@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: tabby\n"
"Language-Team: Chinese Traditional\n"
"Language: zh_TW\n"
"PO-Revision-Date: 2023-09-21 07:04\n"
"PO-Revision-Date: 2023-08-03 08:25\n"
#: tabby-local/src/components/terminalTab.component.ts:113
msgid "\"{command}\" is still running. Close?"
@@ -175,7 +175,7 @@ msgstr "背景類別"
#: locale/tmp-html/tabby-terminal/src/components/inputProcessingSettings.component.html:4
msgid "Backspace key mode"
msgstr "Backspace鍵模式"
msgstr ""
#: locale/tmp-html/tabby-serial/src/components/serialProfileSettings.component.html:14
#: tabby-serial/src/components/serialTab.component.ts:93
@@ -325,7 +325,7 @@ msgstr "顏色機制"
#: locale/tmp-html/tabby-terminal/src/components/colorSchemeSettingsTab.component.html:2
msgid "Color schemes"
msgstr "配色方案"
msgstr ""
#: locale/tmp-html/tabby-ssh/src/components/sshProfileSettings.component.html:216
msgid "Colors"
@@ -493,7 +493,7 @@ msgstr "自訂 CSS"
#: locale/tmp-html/tabby-terminal/src/components/colorSchemeSettingsTab.component.html:4
msgid "Dark mode"
msgstr "深色模式"
msgstr ""
#: locale/tmp-html/tabby-serial/src/components/serialProfileSettings.component.html:26
msgid "Data bits"
@@ -513,11 +513,11 @@ msgstr "縮小垂直分割大小"
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:86
msgid "Default \"Connect to\" type"
msgstr "預設的 \"連線到\" 類型"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:87
msgid "Default connection type used by quick connect feature (ex. SSH, Telnet)"
msgstr "預設的快速連線功能類型 (ex. SSH, Telnet)"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:8
msgid "Default profile for new tabs"
@@ -632,7 +632,7 @@ msgstr "中斷連線"
#: tabby-terminal/src/hotkeys.ts:106
msgid "Disconnect current tab (Serial/Telnet/SSH)"
msgstr "中斷目前分頁的連線 (Serial/Telnet/SSH)"
msgstr ""
#: tabby-ssh/src/components/sshTab.component.ts:202
#: tabby-telnet/src/components/telnetTab.component.ts:81
@@ -945,7 +945,7 @@ msgstr "取得"
#: locale/tmp-html/tabby-settings/src/components/configSyncSettingsTab.component.html:18
msgid "Get it from the Tabby Web settings window"
msgstr "從 Tabby 網頁設定窗獲取"
msgstr "從 Tabby 網頁設定窗獲取"
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:29
msgid "Gives the window a blurred transparent background"
@@ -982,7 +982,7 @@ msgstr "十六進制"
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:43
msgid "Hide"
msgstr "隱藏"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:176
msgid "Hide tab close button"
@@ -1070,7 +1070,7 @@ msgstr "增加垂直分割大小"
#: locale/tmp-html/tabby-ssh/src/components/sshProfileSettings.component.html:226
#: locale/tmp-html/tabby-telnet/src/components/telnetProfileSettings.component.html:21
msgid "Input"
msgstr "輸入"
msgstr ""
#: tabby-terminal/src/components/streamProcessingSettings.component.ts:18
msgid "Input is sent as you type"
@@ -1189,7 +1189,7 @@ msgstr "使用 Shell 替代作業系統處理 Meta 鍵"
#: locale/tmp-html/tabby-terminal/src/components/colorSchemeSettingsTab.component.html:9
msgid "Light mode"
msgstr "淺色模式"
msgstr ""
#: tabby-terminal/src/components/streamProcessingSettings.component.ts:27
msgid "Line by line"
@@ -1400,7 +1400,7 @@ msgstr "GitHub 討論"
#: locale/tmp-html/tabby-settings/src/components/editProfileModal.component.html:47
msgid "Only close the tab when session is explicitly terminated"
msgstr "只有在連線階段確定終止後才關閉分頁"
msgstr ""
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:46
msgid "Opacity"
@@ -1501,7 +1501,7 @@ msgstr "部分設定檔無法同步,因為已被金鑰庫加密"
#: tabby-terminal/src/components/inputProcessingSettings.component.ts:17
msgid "Pass-through"
msgstr "直通"
msgstr ""
#: tabby-settings/src/components/vaultSettingsTab.component.ts:87
msgid "Passphrase for a private key with hash {hash}..."
@@ -1659,7 +1659,7 @@ msgstr "重新連線"
#: tabby-terminal/src/hotkeys.ts:102
msgid "Reconnect current tab (Serial/Telnet/SSH)"
msgstr "重新連線目前的分頁 (Serial/Telnet/SSH)"
msgstr ""
#: tabby-core/src/utils.ts:64
msgid "Red"
@@ -1934,7 +1934,7 @@ msgstr "Shell 整合"
#: locale/tmp-html/tabby-settings/src/components/profilesSettingsTab.component.html:44
msgid "Show"
msgstr "顯示"
msgstr ""
#: tabby-core/src/hotkeys.ts:276
msgid "Show {type} profile selector"
@@ -2015,7 +2015,7 @@ msgstr "逐字節接收"
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:68
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:86
msgid "Snaps the window to a side of the screen"
msgstr "將視窗貼齊螢幕的其中一邊"
msgstr "將視窗折至螢幕的其中一邊"
#: locale/tmp-html/tabby-ssh/src/components/sshPortForwardingConfig.component.html:22
#: locale/tmp-html/tabby-ssh/src/components/sshPortForwardingConfig.component.html:9
@@ -2416,7 +2416,7 @@ msgstr "最新消息"
#: locale/tmp-html/tabby-settings/src/components/editProfileModal.component.html:46
msgid "When a session ends"
msgstr "當連線階段結束"
msgstr ""
#: locale/tmp-html/tabby-terminal/src/components/terminalSettingsTab.component.html:82
msgid "When enabled, links are only clickable while holding this key"
@@ -2441,11 +2441,11 @@ msgstr "視窗"
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:112
msgid "Window dimension along the edge"
msgstr "沿邊緣的窗尺寸"
msgstr "沿邊緣的窗尺寸"
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:105
msgid "Window dimension away from the edge"
msgstr "離邊緣的窗尺寸"
msgstr "離邊緣的窗尺寸"
#: locale/tmp-html/tabby-settings/src/components/windowSettingsTab.component.html:52
msgid "Window frame"

View File

@@ -115,8 +115,5 @@
"i18n:push": "crowdin push"
},
"type": "module",
"private": true,
"dependencies": {
"dotenv": "^16.3.1"
}
"private": true
}

View File

@@ -18,18 +18,17 @@ export class SelectorModalComponent<T> {
@Input() selectedIndex = 0
hasGroups = false
@ViewChildren('item') itemChildren: QueryList<ElementRef>
private preventEdit: boolean
constructor (public modalInstance: NgbActiveModal) {
this.preventEdit = false
}
constructor (
public modalInstance: NgbActiveModal,
) { }
ngOnInit (): void {
this.onFilterChange()
this.hasGroups = this.options.some(x => x.group)
}
@HostListener('keydown', ['$event']) onKeyDown (event: KeyboardEvent): void {
@HostListener('keydown', ['$event']) onKeyUp (event: KeyboardEvent): void {
if (event.key === 'Escape') {
this.close()
} else if (this.filteredOptions.length > 0) {
@@ -47,14 +46,10 @@ export class SelectorModalComponent<T> {
event.preventDefault()
} else if (event.key === 'Enter') {
this.selectOption(this.filteredOptions[this.selectedIndex])
} else if (event.key === 'Backspace' && !this.preventEdit) {
if (this.canEditSelected()) {
event.preventDefault()
this.filter = this.filteredOptions[this.selectedIndex].freeInputEquivalent!
this.onFilterChange()
} else {
this.preventEdit = true
}
} else if (event.key === 'Backspace' && this.canEditSelected()) {
event.preventDefault()
this.filter = this.filteredOptions[this.selectedIndex].freeInputEquivalent!
this.onFilterChange()
}
this.selectedIndex = (this.selectedIndex + this.filteredOptions.length) % this.filteredOptions.length
@@ -66,12 +61,6 @@ export class SelectorModalComponent<T> {
}
}
@HostListener('keyup', ['$event']) onKeyUp (event: KeyboardEvent): void {
if (event.key === 'Backspace' && this.preventEdit) {
this.preventEdit = false
}
}
onFilterChange (): void {
const f = this.filter.trim().toLowerCase()
if (!f) {

View File

@@ -27,9 +27,9 @@ base64-js@^1.3.1:
integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==
bootstrap@^5.3.0-alpha.1:
version "5.3.0-alpha1"
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-5.3.0-alpha1.tgz#380629c4367893f02f7879a01ea3ae0f94e2e70e"
integrity sha512-ABZpKK4ObS3kKlIqH+ZVDqoy5t/bhFG0oHTAzByUdon7YIom0lpCeTqRniDzJmbtcWkNe800VVPBiJgxSYTYew==
version "5.3.2"
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-5.3.2.tgz#97226583f27aae93b2b28ab23f4c114757ff16ae"
integrity sha512-D32nmNWiQHo94BKHLmOrdjlL05q1c8oxbtBphQFb9Z5to6eGRDCm0QgeaZ4zFBHzfg2++rqa2JkqCcxDy0sH0g==
buffer@^6.0.3:
version "6.0.3"

View File

@@ -11,7 +11,6 @@ import { ElectronHostWindow } from './hostWindow.service'
import { ShellIntegrationService } from './shellIntegration.service'
import { ElectronHostAppService } from './hostApp.service'
import { PlatformTheme } from '../../../tabby-core/src/api/platform'
import { configPath } from '../../../app/lib/config'
const fontManager = require('fontmanager-redux') // eslint-disable-line
/* eslint-disable block-scoped-var */
@@ -37,7 +36,7 @@ export class ElectronPlatformService extends PlatformService {
private translate: TranslateService,
) {
super()
this.configPath = configPath
this.configPath = path.join(electron.app.getPath('userData'), 'config.yaml')
electron.ipcRenderer.on('host:display-metrics-changed', () => {
this.zone.run(() => this.displayMetricsChanged.next())

View File

@@ -87,11 +87,6 @@ ul.nav-tabs(ngbNav, #nav='ngbNav')
.description(translate) Sends data one byte at a time
toggle([(ngModel)]='profile.options.slowSend')
li(ngbNavItem)
a(ngbNavLink, translate) Colors
ng-template(ngbNavContent)
color-scheme-selector([(model)]='profile.terminalColorScheme')
li(ngbNavItem)
a(ngbNavLink, translate) Login scripts
ng-template(ngbNavContent)

View File

@@ -2889,11 +2889,6 @@ dotenv-expand@^5.1.0:
resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0"
integrity sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==
dotenv@^16.3.1:
version "16.3.1"
resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.3.1.tgz#369034de7d7e5b120972693352a3bf112172cc3e"
integrity sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==
dotenv@^5.0.1:
version "5.0.1"
resolved "https://registry.npmjs.org/dotenv/-/dotenv-5.0.1.tgz"