Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
luna
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
luna
Commits
669c22ad
Unverified
Commit
669c22ad
authored
5 years ago
by
老广
Committed by
GitHub
5 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #95 from 502647092/patch-1
feat: add ctrl +c and ctrl + v support
parents
c6b443be
bd75ad5a
master
dependabot/npm_and_yarn/handlebars-4.5.3
dependabot/npm_and_yarn/sshpk-1.16.1
dev
gengmei
v54
1.5.6
1.5.5
1.5.4
1.5.3
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
ssh-term.component.ts
src/app/elements/ssh-term/ssh-term.component.ts
+9
-0
No files found.
src/app/elements/ssh-term/ssh-term.component.ts
View file @
669c22ad
...
...
@@ -51,6 +51,15 @@ export class ElementSshTermComponent implements OnInit, AfterViewInit, OnDestroy
}
});
this
.
view
.
Term
=
this
.
term
;
this
.
term
.
attachCustomKeyEventHandler
(
e
=>
{
if
(
e
.
ctrlKey
&&
e
.
key
==
'c'
&&
term
.
hasSelection
())
{
return
false
;
}
if
(
e
.
ctrlKey
&&
e
.
key
==
'v'
)
{
return
false
;
}
return
true
;
})
}
changeWinSize
(
size
:
Array
<
number
>
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment