Use WebGL Renderer by default

also set disableLigatures same as default config
This commit is contained in:
Labhansh Agrawal 2021-11-28 22:07:30 +05:30
parent 4c90d7555c
commit 923518b72f
2 changed files with 3 additions and 3 deletions

View file

@ -148,7 +148,7 @@ module.exports = {
// Whether to use the WebGL renderer. Set it to false to use canvas-based // Whether to use the WebGL renderer. Set it to false to use canvas-based
// rendering (slower, but supports transparent backgrounds) // rendering (slower, but supports transparent backgrounds)
webGLRenderer: false, webGLRenderer: true,
// keypress required for weblink activation: [ctrl|alt|meta|shift] // keypress required for weblink activation: [ctrl|alt|meta|shift]
// todo: does not pick up config changes automatically, need to restart terminal :/ // todo: does not pick up config changes automatically, need to restart terminal :/

View file

@ -107,7 +107,7 @@ const initial: uiState = Immutable<Mutable<uiState>>({
webGLRenderer: true, webGLRenderer: true,
webLinksActivationKey: '', webLinksActivationKey: '',
macOptionSelectionMode: 'vertical', macOptionSelectionMode: 'vertical',
disableLigatures: false disableLigatures: true
}); });
const reducer: IUiReducer = (state = initial, action) => { const reducer: IUiReducer = (state = initial, action) => {
@ -260,7 +260,7 @@ const reducer: IUiReducer = (state = initial, action) => {
ret.macOptionSelectionMode = config.macOptionSelectionMode; ret.macOptionSelectionMode = config.macOptionSelectionMode;
} }
if (config.disableLigatures) { if (config.disableLigatures !== undefined) {
ret.disableLigatures = config.disableLigatures; ret.disableLigatures = config.disableLigatures;
} }