Terminal Font Problems

Hi, I am trying to fix my font for my terminal and have no idea how I got it so messed up. I have tried changing settings in appearance and behavior and console font but can't find anything that fixes it from looking weird. It looks fine in files though which is the other strange part. I even tried disabling and re-enabling terminal and still nothing. 

 

Here is an image of what it looks like compared to the editor.

Upload id: 2024_10_28_Y3BXh2pKkcCBEsg2DCnmPA (file: CleanShot 2024-10-28 at 12.08.41.png)
And I can even copy and paste the text from the console and it looks fine everywhere else
AKH21@XNCPWQ5K-2EDB2F Bizdev % Hello World

Didn't think about it until now, but here are also 2 images of my appearance settings, one general the other for console fonts. As stated above I have messed around with the settings and have yet to find something that fixes it.
Upload id: 2024_10_28_2AgppR56BzMkr7dR3Ya4iv (files: CleanShot 2024-10-28 at 12.11.47.png, CleanShot 2024-10-28 at 12.11.38.png)

 

0
4 comments

This issue looks like a broken UTF encoding of the terminal (expected is 1 byte per character, actually received 2 byte per character)

1. Please go to your IDE "About" screen, click the "Copy & close" button, and send the result to me.

2. What is your system terminal? (`echo $SHELL`)

3. Do you use IntelliJ New Terminal? (Settings | Tools | Terminal | Enable new terminal)? 

0

1. 
WebStorm 2024.2.2
Build #WS-242.22855.79, built on September 18, 2024
Licensed to Church of Jesus Christ

Runtime version: 21.0.3+13-b509.15 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 14.7
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 12
Metal Rendering is ON
Registry:
 ide.experimental.ui=true
 i18n.locale=
Non-Bundled Plugins:
 com.intellij.properties (242.20224.155)
 ru.adelf.idea.dotenv (2024.2.1)
 lermitage.intellij.extratci (2024.5.3)
 com.terminaltabtailor.TerminalTabTailor (1.4.2)
 lermitage.intellij.extra.icons (2024.8.1)
 com.thvardhan.gradianto (5.5)
 com.kagof.pokeprogress (2.1.1)
 com.github.copilot (1.5.26.7227)
 mobi.hsz.idea.gitignore (4.5.4)
 com.intellij.database (242.22855.30)
 izhangzhihao.rainbow.brackets (2024.2.6-241)
 com.intellij.lang.jsgraphql (242.21829.3)


2. /bin/zsh

3. No I am not, I have tried that and it looks better but still has problems. In addition it has a lot of performance problems with my app.

0

1. Run the following command to check your locale
locale
2. If any of the settings (like LANG or LC_* variables) are incorrect or unset, you can reset them. For example, if you're using US English, try:
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8

3. Add these lines to your .zshrc file to make the changes permanent.

1

Thank you! Typing those in did nothing even though it looked like it was changing the value when I checked with `locale` but when I added the exports to my `.zshrc` and reset WebStorm that fixed the issue. Thank you very much for the hep!

0

Please sign in to leave a comment.