Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[need advice] Suddenly, Alacritty stopped displaying italics #2963

Closed
for-coursera opened this issue Nov 7, 2019 · 2 comments
Closed

[need advice] Suddenly, Alacritty stopped displaying italics #2963

for-coursera opened this issue Nov 7, 2019 · 2 comments

Comments

@for-coursera
Copy link

for-coursera commented Nov 7, 2019

OS: macOS 10.11

Most likely, it has nothing to do with Alacritty but I just hope that someone with experience will be able to point me somewhere...

The problem: I use terminfo entries generated pretty much the usual way (described here, for example), everything was OK, and then suddenly today I noticed that Alacritty stopped displaying italics. The very same setup works just fine with iTerm (and, of course, both Alacritty and iTerm have the same $TERM set, xterm-256color-italic).

Also, possible tests, like echo -e "\e[3mitalics\e[23m" or echo `tput sitm`italics`tput ritm` fail in Alacritty. As well as for, example, this testing script – while bold, dim, underline, reverse, strikethrough and invisible entries are absolutely fine.

So, my question would be the following: what do yo think, what can it be? I'm almost certain it is my configuration to blame but hell, where should I start looking? :) Some cache may be?

(Another problem is that don't use Alacritty on a daily basis, so I can't really say when did this happen...)

Thanks.

@kchibisov
Copy link
Member

Could you try installing alacritty terminfo (take a look at INSTALL.md on how to install it), then run alacritty --config-file /dev/null and retest?

Basically there could be two problems:

  • 1 Bad terminfo
  • 2 Font doesn't have italics or you've misspelled font style for italics in case you've added it explicitly.

@for-coursera
Copy link
Author

for-coursera commented Nov 7, 2019

It seems that the culprit was me setting the style to style: Italic instead of style: Regular Italic.

Thanks for the info on alacritty terminfo and for the hint with --config-file /dev/null: I thought I was going insane, and these did help me to clean test the situation and then to locate the problem :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants