mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Add rendererType
This commit is contained in:
+3
-1
@@ -157,7 +157,9 @@ function initOptions(term) {
|
||||
'termName',
|
||||
'useFlowControl',
|
||||
// Complex option
|
||||
'theme'
|
||||
'theme',
|
||||
// Only in constructor
|
||||
'rendererType'
|
||||
];
|
||||
var stringOptions = {
|
||||
bellSound: null,
|
||||
|
||||
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user