From 25bd5b756581895e20880c532d65aa746261d2c4 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Sat, 16 May 2020 11:50:34 +0300 Subject: [PATCH] Fixed #319 - Terminal should scroll to bottom after command --- src/components/terminal/Terminal.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/terminal/Terminal.vue b/src/components/terminal/Terminal.vue index 17d738923..137f7f88e 100755 --- a/src/components/terminal/Terminal.vue +++ b/src/components/terminal/Terminal.vue @@ -39,6 +39,9 @@ export default { TerminalService.$on('response', this.responseListener); this.$refs.input.focus(); }, + updated() { + this.$el.scrollTop = this.$el.scrollHeight; + }, beforeDestroy() { TerminalService.$off('response', this.responseListener); },