Skip to content

Commit

Permalink
Implemented support for Ctrl+V
Browse files Browse the repository at this point in the history
Signed-off-by: paulober <[email protected]>
  • Loading branch information
paulober committed Sep 2, 2024
1 parent d30f173 commit 45ae4ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/terminal.mts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ export class Terminal implements Pseudoterminal {
// Tab
this.handleTab();
}
} else if (char === "\x16") {
// Ctrl+V
commands.executeCommand("editor.action.clipboardPasteAction");
} else {
if (IGNORED_CHARS.includes(char)) {
return;
Expand Down

0 comments on commit 45ae4ca

Please sign in to comment.