We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e9301a commit c8cd02dCopy full SHA for c8cd02d
src/alacritty.js
@@ -263,6 +263,10 @@ class Alacritty {
263
this.config["font"][fontTypes[t]]["family"] = fonts[font][fontTypes[t]]
264
? fonts[font][fontTypes[t]]
265
: "tmp";
266
+ const capitalize = ([firstLetter, ...restOfWord]) =>
267
+ firstLetter.toUpperCase() + restOfWord.join("");
268
+ const fontType = fontTypes[t] === "normal" ? "regular" : fontTypes[t];
269
+ this.config["font"][fontTypes[t]]["style"] = capitalize(fontType);
270
}
271
log(chalk.blue(`Font ${font} applied`));
272
0 commit comments