8000 feat!: turn on modern mode by default, and provide a `--no-module` option by haoqunjiang · Pull Request #6416 · vuejs/vue-cli · GitHub
[go: up one dir, main page]

Skip to content

feat!: turn on modern mode by default, and provide a --no-module option #6416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Apr 14, 2021
Prev Previous commit
Next Next commit
fix: fix blur & focus event of the xterm
  • Loading branch information
haoqunjiang committed Apr 13, 2021
commit 1e764a15f1fa1005f3139bd97740dc02cd48b5b4
4 changes: 2 additions & 2 deletions packages/@vue/cli-ui/src/components/content/TerminalView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ export default {

term.open(this.$refs.render)

term.onBlur(() => this.$emit('blur'))
term.onFocus(() => this.$emit('focus'))
term.element.addEventListener('blur', () => this.$emit('blur'))
term.element.addEventListener('focus', () => this.$emit('focus'))

if (this.autoSize) {
this.$nextTick(this.fit)
Expand Down
0