diff --git a/.all-contributorsrc b/.all-contributorsrc index 6bab5baf..019aeb5a 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -720,6 +720,24 @@ "contributions": [ "code" ] + }, + { + "login": "MagicLike", + "name": "MagicLike", + "avatar_url": "https://avatars.githubusercontent.com/u/82117109?v=4", + "profile": "https://magiclike.codeberg.page/", + "contributions": [ + "doc" + ] + }, + { + "login": "hisamafahri", + "name": "Hisam Fahri", + "avatar_url": "https://avatars.githubusercontent.com/u/65691613?v=4", + "profile": "https://github.com/hisamafahri", + "contributions": [ + "code" + ] } ], "contributorsPerLine": 7, diff --git a/README.de-DE.md b/README.de-DE.md index 17f3c544..af57eed4 100644 --- a/README.de-DE.md +++ b/README.de-DE.md @@ -20,7 +20,7 @@

-Diese README ist auch verfügbar in: :gb: English :ru: Русский :kr: 한국어 :cn: 简体中文 :it: Italiano +Diese README ist auch verfügbar in: :gb: English · :ru: Русский · :kr: 한국어 · :cn: 简体中文 · :it: Italiano

---- @@ -151,11 +151,8 @@ Siehe [HACKING.md](https://github.com/Eugeny/tabby/blob/master/HACKING.md) und [ Dank geht an diese wunderbaren Menschen ([emoji key](https://allcontributors.org/docs/en/emoji-key)): - - - @@ -254,11 +251,16 @@ Dank geht an diese wunderbaren Menschen ([emoji key](https://allcontributors.org + + + + + +

Russell Myers

💻

artu-ole

💻

Timofey Gribanov

📖 🌍

Christian Bingman

💻

zhipeng

💻

woodmeal

💻

MagicLike

📖

Hisam Fahri

💻
- diff --git a/README.it-IT.md b/README.it-IT.md index 30d3c2c7..e1da9b94 100644 --- a/README.it-IT.md +++ b/README.it-IT.md @@ -21,7 +21,7 @@

-Questo README è disponibile anche in: :gb: English :ru: Русский :kr: 한국어 :cn: 简体中文 :de: Deutsch +Questo README è disponibile anche in: :gb: English · :ru: Русский · :kr: 한국어 · :cn: 简体中文 · :de: Deutsch ---- @@ -250,6 +250,8 @@ Grazie a queste persone meravigliose ([emoji key](https://allcontributors.org/do
woodmeal

💻 +
MagicLike

📖 +
Hisam Fahri

💻 diff --git a/README.ko-KR.md b/README.ko-KR.md index 9e8311bc..0b1cf111 100644 --- a/README.ko-KR.md +++ b/README.ko-KR.md @@ -244,6 +244,8 @@ Pull requests and plugins are welcome!
woodmeal

💻 +
MagicLike

📖 +
Hisam Fahri

💻 diff --git a/README.md b/README.md index 82ed78e0..d87f4449 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@

-This README is also available in: :ru: Русский :kr: 한국어 :cn: 简体中文 :it: Italiano :de: Deutsch +This README is also available in: :ru: Русский · :kr: 한국어 · :cn: 简体中文 · :it: Italiano · :de: Deutsch

---- @@ -254,6 +254,8 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
woodmeal

💻 +
MagicLike

📖 +
Hisam Fahri

💻 diff --git a/README.ru-RU.md b/README.ru-RU.md index 2bd7e75f..149a7c0e 100644 --- a/README.ru-RU.md +++ b/README.ru-RU.md @@ -21,7 +21,7 @@

-Этот README также доступен на: :gb: English :kr: 한국어 :cn: 简体中文 :it: Italiano :de: Deutsch +Этот README также доступен на: :gb: English · :kr: 한국어 · :cn: 简体中文 · :it: Italiano · :de: Deutsch

---- @@ -250,6 +250,8 @@ Pull-запросы и плагины приветствуются!
woodmeal

💻 +
MagicLike

📖 +
Hisam Fahri

💻 diff --git a/README.zh-CN.md b/README.zh-CN.md index b3ddd2cc..de6a1601 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -21,7 +21,7 @@

-本 README 还适用于以下语言: :gb: English :ru: Русский :kr: 한국어 :it: Italiano :de: Deutsch +本 README 还适用于以下语言: :gb: English · :ru: Русский · :kr: 한국어 · :it: Italiano · :de: Deutsch

---- @@ -249,6 +249,8 @@
woodmeal

💻 +
MagicLike

📖 +
Hisam Fahri

💻 diff --git a/package.json b/package.json index b27ff70e..2e59bc23 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "cross-env": "7.0.3", "css-loader": "^6.7.1", "deep-equal": "2.0.5", - "electron": "18.0.4", + "electron": "18.1.0", "electron-builder": "^23.0.3", "electron-download": "^4.1.1", "electron-installer-snap": "^5.1.0", diff --git a/tabby-terminal/src/api/baseTerminalTab.component.ts b/tabby-terminal/src/api/baseTerminalTab.component.ts index 48bdf5b7..032bae40 100644 --- a/tabby-terminal/src/api/baseTerminalTab.component.ts +++ b/tabby-terminal/src/api/baseTerminalTab.component.ts @@ -244,6 +244,11 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit }[this.hostApp.platform]) }) break + case 'delete-line': + this.forEachFocusedTerminalPane(tab => { + tab.sendInput('\x1bw') + }) + break case 'delete-previous-word': this.forEachFocusedTerminalPane(tab => { tab.sendInput('\x1b\x7f') diff --git a/tabby-terminal/src/config.ts b/tabby-terminal/src/config.ts index 05507d8a..31e1f55e 100644 --- a/tabby-terminal/src/config.ts +++ b/tabby-terminal/src/config.ts @@ -104,6 +104,7 @@ export class TerminalConfigProvider extends ConfigProvider { 'previous-word': ['⌥-Left'], 'next-word': ['⌥-Right'], 'delete-previous-word': ['⌥-Backspace'], + 'delete-line': ['⌘-Backspace'], 'delete-next-word': ['⌥-Delete'], search: [ '⌘-F', @@ -147,6 +148,7 @@ export class TerminalConfigProvider extends ConfigProvider { 'previous-word': ['Ctrl-Left'], 'next-word': ['Ctrl-Right'], 'delete-previous-word': ['Ctrl-Backspace'], + 'delete-line': ['Ctrl-Shift-Backspace'], 'delete-next-word': ['Ctrl-Delete'], search: [ 'Ctrl-Shift-F', @@ -188,6 +190,7 @@ export class TerminalConfigProvider extends ConfigProvider { 'previous-word': ['Ctrl-Left'], 'next-word': ['Ctrl-Right'], 'delete-previous-word': ['Ctrl-Backspace'], + 'delete-line': ['Ctrl-Shift-Backspace'], 'delete-next-word': ['Ctrl-Delete'], search: [ 'Ctrl-Shift-F', diff --git a/tabby-terminal/src/hotkeys.ts b/tabby-terminal/src/hotkeys.ts index 8fde5f77..878cd2fa 100644 --- a/tabby-terminal/src/hotkeys.ts +++ b/tabby-terminal/src/hotkeys.ts @@ -33,6 +33,10 @@ export class TerminalHotkeyProvider extends HotkeyProvider { id: 'delete-previous-word', name: this.translate.instant('Delete previous word'), }, + { + id: 'delete-line', + name: this.translate.instant('Delete entire line'), + }, { id: 'delete-next-word', name: this.translate.instant('Delete next word'), diff --git a/yarn.lock b/yarn.lock index 36fc3838..4fc90a94 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2766,10 +2766,10 @@ electron-to-chromium@^1.3.723: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.736.tgz#f632d900a1f788dab22fec9c62ec5c9c8f0c4052" integrity sha512-DY8dA7gR51MSo66DqitEQoUMQ0Z+A2DSXFi7tK304bdTVqczCAfUuyQw6Wdg8hIoo5zIxkU1L24RQtUce1Ioig== -electron@18.0.4: - version "18.0.4" - resolved "https://registry.yarnpkg.com/electron/-/electron-18.0.4.tgz#7b9b094db32805d4a7826d9f7a1b376d9d7b9f86" - integrity sha512-xfsozNpFr3WzeM1EFlw2qqiqXbCrgQNBJJMlcC4/DUYVpkF8364SZenX7FFFA42NmwXiOEahkvvho/u7UrAcGg== +electron@18.1.0: + version "18.1.0" + resolved "https://registry.yarnpkg.com/electron/-/electron-18.1.0.tgz#d92b76f301af1a8728adff8d6eeb42382e218fe8" + integrity sha512-P55wdHNTRMo7a/agC84ZEZDYEK/pTBcQdlp8lFbHcx3mO4Kr+Im/J5p2uQgiuXtown31HqNh2paL3V0p+E6rpQ== dependencies: "@electron/get" "^1.13.0" "@types/node" "^16.11.26"