From 45ae4ca6d7e78b2bb1553d9b0d0deaff112c3d58 Mon Sep 17 00:00:00 2001 From: paulober <44974737+paulober@users.noreply.github.com> Date: Mon, 2 Sep 2024 18:19:34 +0100 Subject: [PATCH] Implemented support for Ctrl+V Signed-off-by: paulober <44974737+paulober@users.noreply.github.com> --- src/terminal.mts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/terminal.mts b/src/terminal.mts index 352baba..196e8e2 100644 --- a/src/terminal.mts +++ b/src/terminal.mts @@ -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;