Skip to content

Problem with emojis (prompt) squeezed #9158

Closed Answered by faho
invisible1988 asked this question in Q&A
Discussion options

You must be logged in to vote

This is about the rendering. That's up to the terminal, fish has no influence on that.

I've already tested to set fish_emoji_width to 2

Setting $fish_emoji_width to 2 tells fish that the terminal will render emoji with a width of 2 columns (so it can figure out what column the prompt ends in). It doesn't give them a width of 2. That's up to the terminal.

Plus your issue here isn't that these are 1 column instead of 2, it's the position inside the column.


You have four solutions here:

  1. Check your terminal settings to see if something can fix this - maybe you need a different font
  2. Report a bug to your terminal
  3. Switch terminals
  4. Pick different characters

Fish can't do anything about this.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by invisible1988
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
upstream we can't fix it
2 participants