feature: cloudcmd: Ctrl + L: logout

This commit is contained in:
coderiaser 2026-04-15 01:35:01 +03:00
parent 48693d9e24
commit 2b3dc1573d
4 changed files with 11 additions and 1 deletions

View file

@ -1,6 +1,6 @@
name: Docker IO
on:
- push
- push
jobs:
buildx:
runs-on: ubuntu-latest

View file

@ -186,6 +186,7 @@ Then, start the server again with `cloudcmd` and reload the page.
| `Ctrl + R` | refresh
| `Ctrl + D` | clear local storage
| `Ctrl + A` | select all files in a panel
| `Ctrl + L` | logout
| `Ctrl + M` | [rename selected files](https://github.com/coderaiser/cloudcmd/releases/tag/v12.1.0) in editor
| `Ctrl + U` | swap panels
| `Ctrl + F3` | sort by name

View file

@ -442,6 +442,14 @@ async function _switchKey(event) {
break;
case KEY.L:
if (ctrlMeta) {
CloudCmd.logOut();
event.preventDefault();
}
break;
case KEY.M:
if (ctrlMeta) {
if (config('vim'))

View file

@ -22,6 +22,7 @@ export const D = 68;
export const G = 71;
export const J = 74;
export const K = 75;
export const L = 76;
export const M = 77;
export const O = 79;
export const P = 80;