提交 1e23c593 编写于 作者: D Daniel Imms

Use valid values for terminal font config

Fixes #7420
上级 7c75479a
......@@ -68,11 +68,13 @@ configurationRegistry.registerConfiguration({
},
'terminal.integrated.fontSize': {
'description': nls.localize('terminal.integrated.fontSize', "Controls the font size of the terminal, this defaults to editor.fontSize's value."),
'type': 'number'
'type': 'number',
'default': 0
},
'terminal.integrated.lineHeight': {
'description': nls.localize('terminal.integrated.lineHeight', "Controls the line height of the terminal, this defaults to editor.lineHeight's value."),
'type': 'number'
'type': 'number',
'default': 0
}
}
});
......
......@@ -62,7 +62,7 @@ suite('Workbench - TerminalConfigHelper', () => {
},
terminal: {
integrated: {
fontFamily: undefined
fontFamily: 0
}
}
});
......@@ -91,8 +91,8 @@ suite('Workbench - TerminalConfigHelper', () => {
},
terminal: {
integrated: {
fontFamily: undefined,
fontSize: undefined
fontFamily: 0,
fontSize: 0
}
}
});
......@@ -106,7 +106,7 @@ suite('Workbench - TerminalConfigHelper', () => {
},
terminal: {
integrated: {
fontFamily: undefined,
fontFamily: 0,
lineHeight: 2
}
}
......@@ -121,8 +121,8 @@ suite('Workbench - TerminalConfigHelper', () => {
},
terminal: {
integrated: {
fontFamily: undefined,
lineHeight: undefined
fontFamily: 0,
lineHeight: 0
}
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册