U 优化输出样式

4.0
vapao 2022-10-13 15:49:44 +08:00
parent 0537c397fa
commit b3a0cf724f
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,8 @@ function OutView(props) {
store.tag = ''
gCurrent = current
term.setOption('disableStdin', true)
term.setOption('fontSize', gStore.terminal.fontSize)
term.setOption('fontSize', 40)
term.setOption('lineHeight', 1.2)
term.setOption('fontFamily', gStore.terminal.fontFamily)
term.setOption('theme', {background: '#2b2b2b', foreground: '#A9B7C6', cursor: '#2b2b2b'})
term.attachCustomKeyEventHandler((arg) => {