NEZ-2882 fix: Web terminal查看中文文本时文字上方无法全部展示
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user