switch for BufferLineJsArray vs BufferLineTypedArray

This commit is contained in:
Jörg Breitbart
2018-09-04 18:20:01 +02:00
parent 165c8d4522
commit 2877c0da80
5 changed files with 73 additions and 20 deletions
+2 -1
View File
@@ -184,7 +184,8 @@ function initOptions(term) {
fontFamily: null,
fontWeight: ['normal', 'bold', '100', '200', '300', '400', '500', '600', '700', '800', '900'],
fontWeightBold: ['normal', 'bold', '100', '200', '300', '400', '500', '600', '700', '800', '900'],
rendererType: ['dom', 'canvas']
rendererType: ['dom', 'canvas'],
bufferLineConstructor: ['JsArray', 'TypedArray']
};
var options = Object.keys(term._core.options);
var booleanOptions = [];