Terminal: Italics are not rendered for terminal programs such as Neovim

Created on 22 Apr 2020  路  5Comments  路  Source: microsoft/terminal

Environment

Windows build number: 10.0.19608.0
Windows Terminal version (if applicable): 0.10

Any other software? Neovim and WSL2

Steps to reproduce


I have neovim installed on wsl2 and when I have configured neovim to render italics for comments. However, italics are not rendered when I use neovim when I run it in terminal mode in the windows terminal. I know that it's not a neovim problem because if I run it on alacritty for example, the comments are rendered in italics. I'm running neovim under WSL2 but I don't think it has any effect to this.

Expected behavior


Italics should render properly on the terminal.

Actual behavior


Italics are being ignored when rendering and fonts are only rendering in the "regular" style.

Area-Rendering Issue-Task Product-Terminal

Most helpful comment

Italics is a very important missing feature, I feel. Alacritty supports it (@edyu mentions this). Even ConEmu supports this (and ConEmu is _really_ old).

Cheers!

All 5 comments

One does not need WSL or NeoVIM to reproduce this . Attributes.ps1 will do, and indicates the currently missing SGR support.

That's right, we probably should add support for italics at some point in the future.

Yep, we should add support for italic and faint and ~ ~ bold ~ ~ (don't ask, it's complicated).

Italics is a very important missing feature, I feel. Alacritty supports it (@edyu mentions this). Even ConEmu supports this (and ConEmu is _really_ old).

Cheers!

Thanks for letting us know. In the future, you can register your support for an issue by using the :+1: button (or the Reactions) button if that button is not available.

Was this page helpful?
0 / 5 - 0 ratings