Skip to content

Commit f10665d

Browse files
committed
feature: cloudcmd: Ctrl + L: logout
1 parent 846fc03 commit f10665d

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/docker-io.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Docker IO
22
on:
3-
- push
3+
- push
44
jobs:
55
buildx:
66
runs-on: ubuntu-latest

client/key/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,14 @@ async function _switchKey(event) {
450450

451451
break;
452452

453+
case KEY.L:
454+
if (ctrlMeta) {
455+
CloudCmd.logOut();
456+
event.preventDefault();
457+
}
458+
459+
break;
460+
453461
case KEY.M:
454462
if (ctrlMeta) {
455463
if (config('vim'))

0 commit comments

Comments
 (0)