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

Display error with nerd font v3 symbols on Windows (not happen in macOS) #3748

Closed
milanglacier opened this issue May 20, 2023 · 6 comments
Closed
Labels
bug Something isn't working fixed-in-nightly This is (or is assumed to be) fixed in the nightly builds.

Comments

@milanglacier
Copy link

What Operating System(s) are you seeing this problem on?

Windows

Which Wayland compositor or X11 Window manager(s) are you using?

No response

WezTerm version

wezterm 20230408-112425-69ae8472

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

No, and I'll explain why below

Describe the bug

This is the status bar of tmux displayed in wezterm, where I used nerd font v3 symbols:

image

To Reproduce

Just running tmux on WSL/remote ssh where tmux is installed in the host.

Configuration

No config for wezterm.

This is the tmux configuration:

set -g status-interval 5
set -g status-left '#[fg=magenta,bg=default]#[bg=magenta,fg=default]󰍹 #{session_name}#[fg=magenta,bg=default]#[fg=yellow,bg=default]'
set -g status-left-length 100
set -g status-right-length 150
set -g status-justify centre
set -g status-bg cyan

setw -g window-status-activity-style curly-underscore
setw -g window-status-bell-style blink,strikethrough
setw -g window-status-current-style italics

setw -g window-status-format '#[fg=yellow,bg=default]#[bg=yellow,fg=default] #I:#W#F#[fg=yellow,bg=default]'
setw -g window-status-current-format '#[fg=magenta,bg=default]#[fg=default,bg=magenta] #I:#W#F#[fg=magenta,bg=default]'

set -g status-right '#[fg=yellow,bg=default]#[fg=default,bg=yellow] #(whoami) 󰴕 #H#[fg=yellow,bg=default]#[fg=magenta,bg=default]#[fg=default,bg=magenta] %m/%d/%y %H:%M#[fg=magenta,bg=default]'

Expected Behavior

The tmux status bar should be displayed correctly.

Note that this is a common problem on windows, I have tried several terminal emulators, including alacritty, windows terminal, vscode builtin terminal, they all have the same display problems.

(see the mirror issue on alacritty: alacritty/alacritty#6936)

This is the screenshot of the tmux statusbar on macos wezterm (it is displayed correctly),

Screenshot 2023-05-20 at 15 54 23

And this is the screenshot of the tmux statusbar on windows terminal preview (it is displayed correctly, and it is the only terminal emulators on Windows that can display those symbols correctly on Windows)

image

Logs

No response

Anything else?

No response

@milanglacier milanglacier added the bug Something isn't working label May 20, 2023
wez added a commit that referenced this issue May 21, 2023
I want to try out the FTCS flush and any other conpty fixes that may
have been made since our last update.

refs: microsoft/terminal#13710

These other issues may experience improved results, but likely not:

refs: #3748
refs: #3624
refs: #2779
refs: #2902
refs: #3531
refs: #3562
@wez
Copy link
Owner

wez commented May 22, 2023

Please try with the latest nightly build and let me know if it behaves any better; that has a newer version of conpty included.

@wez wez added the waiting-on-op Waiting for more information from the original poster label May 22, 2023
@milanglacier
Copy link
Author

I don't have a personal windows computer. The windows computer is used in working environment which makes it not convenient to install rust toolchain.

So I am sorry that I cannot try to build the nightly program from source. But if there is a nightly prebuilt portable binary available, I would happy to give it a try!

@github-actions github-actions bot removed the waiting-on-op Waiting for more information from the original poster label May 22, 2023
@wez
Copy link
Owner

wez commented May 22, 2023

Yes, binaries for all platforms are available from the download page:
https://wezfurlong.org/wezterm/install/windows.html

@wez wez added the waiting-on-op Waiting for more information from the original poster label May 22, 2023
@TheSast
Copy link

TheSast commented May 24, 2023

I have the same issue with the latest stable release, the nightly build does not have that specific issue on my end.

@wez wez added the fixed-in-nightly This is (or is assumed to be) fixed in the nightly builds. label May 24, 2023
@milanglacier
Copy link
Author

I can confirm wezterm nightly fixes the renderer problem

@github-actions github-actions bot removed the waiting-on-op Waiting for more information from the original poster label May 30, 2023
@github-actions
Copy link
Contributor

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working fixed-in-nightly This is (or is assumed to be) fixed in the nightly builds.
Projects
None yet
Development

No branches or pull requests

3 participants