The integrated terminal in VS Code has the same colouring, just not the fancy fonts that Ptyxis has. I turned on font ligatures in settings.json but that only seems to affect the editor. Anyone know how to make this look better?
Could you specify exactly what it is that you want improved, please? I was under the impression that ligature only affected characters in script fonts or that were otherwise connecting characters together. Eg, Ʀ. Since I donāt see any ligatures in the captured texts, I donāt know what to look for to spot the change caused by the settings.
Are you instead after improved kerning, so the text looks less blocky? I have seen terminals running fonts that werenāt monospace before, but the artifacts you get tend to be worse than any improvement in legibility. Like, all the tables in your example would become very wonky.
I think its the nerd font icons that arenāt displaying in the VS Code terminal. The font display is great, however, the VS Code terminal just shows boxes for the the nerd font icons. Here is the Ptyxis terminal prompt:
@MaxJanky do you know how to get nerd fonts to display in VS Code terminal? Ptyxis is doing it and Iām not sure how since I am just using the stock config with Bluefin Bling enabled.
I have some experience with fonts, but this is the first time Iāve ever heard the phrase ānerd font.ā That said, when I typed ānerd font vscodeā into Google this was the first hit:
Nerd Fonts work the same and typically have a " NF" suffix, the following is an example of how to configure Hackās nerd fonts variant:
"terminal.integrated.fontFamily": "'Hack NF'"
So, I recommend you try something like this:
mkdir -p ~/.local/share/fonts
ln -s ~/.local/share/fonts/ ~/.fonts
cd ~/.fonts
curl -OL https://github.com/ryanoasis/nerd-fonts/releases/latest/download/Hack.tar.xz
tar -xvf Hack.tar.xz
Then, go into vscode ā settings ā search ā āeditor: font familyā (if you want access in the editor) or āterminal.integrated.fontFamilyā (if you only want the terminal) and append ā, āHack Nerd Fontāā. Lastly, youāll evidently have to disable hardware acceleration in the terminal and it might be a good idea to double-check that your terminal settings enable glyphs - both settings are on the same page.
I would personally prefer having the hardware acceleration than some emoticons that I didnāt even notice werenāt being displayed. But I am half-blind and tend to use pretty utilitarian themes, so YMMV.
Thanks @MaxJanky I ended up using Embellish from Flathub to install the Hack Nerd font you suggested. Then I set Terminal > Integrated: Font Family to āHack Nerd Fontā. I did not have to disable gpu acceleration to enable this. Now I get the nerd font icons
Ah. I just reviewed the terminal options and I think I probably just misread one of the options in haste earlier. Itās funny: the bit about images says it will only work when GPU is enabled. But the bit about glyphs says it will not work when GPU is disabled. A punishing lack of consistency for a speed-reader!