Add rendererType

This commit is contained in:
Daniel Imms
2018-06-03 16:21:23 +02:00
parent 73e35b9293
commit c748b02111
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -157,7 +157,9 @@ function initOptions(term) {
'termName',
'useFlowControl',
// Complex option
'theme'
'theme',
// Only in constructor
'rendererType'
];
var stringOptions = {
bellSound: null,
+1 -1
View File
@@ -98,7 +98,7 @@ const WRITE_BATCH_SIZE = 300;
/**
* The set of options that only have an effect when set in the Terminal constructor.
*/
const CONSTRUCTOR_ONLY_OPTIONS = ['cols', 'rows'];
const CONSTRUCTOR_ONLY_OPTIONS = ['cols', 'rows', 'rendererType'];
const DEFAULT_OPTIONS: ITerminalOptions = {
cols: 80,