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
// rendering (slower, but supports transparent backgrounds)
webGLRenderer: false,
webGLRenderer: true,
// keypress required for weblink activation: [ctrl|alt|meta|shift]
// 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,
webLinksActivationKey: '',
macOptionSelectionMode: 'vertical',
disableLigatures: false
disableLigatures: true
});
const reducer: IUiReducer = (state = initial, action) => {
@ -260,7 +260,7 @@ const reducer: IUiReducer = (state = initial, action) => {
ret.macOptionSelectionMode = config.macOptionSelectionMode;
}
if (config.disableLigatures) {
if (config.disableLigatures !== undefined) {
ret.disableLigatures = config.disableLigatures;
}