feature: client: key: Ctrl + L -> Ctrl + Shift + L: Log out (#466)

This commit is contained in:
coderiaser 2026-06-15 14:47:09 +03:00
parent ef83a61a0c
commit 78b206e06b
2 changed files with 2 additions and 2 deletions

View file

@ -190,12 +190,12 @@ Then, start the server again with `cloudcmd` and reload the page.
| `Ctrl + R` | refresh | `Ctrl + R` | refresh
| `Ctrl + D` | clear local storage | `Ctrl + D` | clear local storage
| `Ctrl + A` | select all files in a panel | `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 + M` | [rename selected files](https://github.com/coderaiser/cloudcmd/releases/tag/v12.1.0) in editor
| `Ctrl + U` | swap panels | `Ctrl + U` | swap panels
| `Ctrl + F3` | sort by name | `Ctrl + F3` | sort by name
| `Ctrl + F5` | sort by date | `Ctrl + F5` | sort by date
| `Ctrl + F6` | sort by size | `Ctrl + F6` | sort by size
| `Ctrl + Shift + L` | logout
| `Ctrl + Command + .` | show/hide dot files | `Ctrl + Command + .` | show/hide dot files
| `Up` | move cursor up | `Up` | move cursor up
| `Down` | move cursor down | `Down` | move cursor down

View file

@ -443,7 +443,7 @@ async function _switchKey(event) {
break; break;
case KEY.L: case KEY.L:
if (ctrlMeta) { if (ctrlMeta && shift) {
CloudCmd.logOut(); CloudCmd.logOut();
event.preventDefault(); event.preventDefault();
} }