From 8a1633f1be90edb1da31b4851b10be72c455acc2 Mon Sep 17 00:00:00 2001 From: Shea Lavington Date: Wed, 15 Sep 2021 16:06:54 +0100 Subject: [PATCH] emit submitted value for custom wrapper processing --- src/VueTerminal.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/VueTerminal.vue b/src/VueTerminal.vue index 9c347b8..5a60097 100644 --- a/src/VueTerminal.vue +++ b/src/VueTerminal.vue @@ -152,6 +152,7 @@ this.handlekeyEvent(e) return } + this.$emit('input', this.inputCommand) this.commandHistory.push(this.inputCommand) this.historyIndex = this.commandHistory.length