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