NEZ-2882 fix: Web terminal查看中文文本时文字上方无法全部展示

This commit is contained in:
zhangyu
2023-06-21 17:17:46 +08:00
parent 41b78447fd
commit e34d77d563

View File

@@ -94,7 +94,8 @@ export default {
this.term = new Terminal({
cursorStyle: 'block', // 光标样式 null | 'block' | 'underline' | 'bar'
disableStdin: false, // 是否应禁用输入
fontSize: 16
fontSize: 16,
lineHeight: 1.2
})
this.term.open(terminalContainer)
this.term.focus()