Fixed #319 - Terminal should scroll to bottom after command
parent
b8a3fb28d5
commit
25bd5b7565
|
@ -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);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue