Skip to content

Commit

Permalink
Use WebGL Renderer by default
Browse files Browse the repository at this point in the history
also set disableLigatures same as default config
  • Loading branch information
LabhanshAgrawal committed Nov 28, 2021
1 parent 4c90d75 commit 923518b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/config/config-default.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 :/
Expand Down
4 changes: 2 additions & 2 deletions lib/reducers/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 923518b

Please sign in to comment.