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

siduck/st render border as unknown/garbled characters #1942

Closed
3 tasks done
AnkushRoy-code opened this issue Nov 23, 2024 · 2 comments
Closed
3 tasks done

siduck/st render border as unknown/garbled characters #1942

AnkushRoy-code opened this issue Nov 23, 2024 · 2 comments
Labels
invalid This doesn't seem right

Comments

@AnkushRoy-code
Copy link

AnkushRoy-code commented Nov 23, 2024

What system are you running Yazi on?

Linux X11

What terminal are you running Yazi in?

Suckless's st 0.8.5

yazi --debug output

Yazi
    Version: 0.3.3 (8055972 2024-11-23)
    Debug  : false
    Triple : x86_64-unknown-linux-gnu (linux-x86_64)
    Rustc  : 1.82.0 (f6e511ee 2024-10-15)

Ya
    Version: 0.3.3 (Arch Linux 2024-09-05)

Emulator
    Emulator.via_env: ("st-256color", "")
    Emulator.via_csi: Ok(Unknown([]))
    Emulator.detect : Unknown([])

Adapter
    Adapter.matches: X11

Desktop
    XDG_SESSION_TYPE           : Some("x11")
    WAYLAND_DISPLAY            : None
    DISPLAY                    : Some(":0")
    SWAYSOCK                   : None
    HYPRLAND_INSTANCE_SIGNATURE: None
    WAYFIRE_SOCKET             : None

SSH
    shared.in_ssh_connection: false

WSL
    WSL: false

Variables
    SHELL           : Some("/usr/bin/zsh")
    EDITOR          : Some("nvim")
    VISUAL          : None
    YAZI_FILE_ONE   : None
    YAZI_CONFIG_HOME: None
    YAZI_ZOXIDE_OPTS: None
    FZF_DEFAULT_OPTS: Some("--color=fg:#CBE0F0,bg:-1,hl:#B388FF,fg+:#CBE0F0,bg+:#143652,hl+:#B388FF,info:#06BCE4,prompt:#2CF9ED,pointer:#2CF9ED,marker:#2CF9ED,spinner:#2CF9ED,header:#2CF9ED")

Text Opener
    default     : Some(Opener { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
    block-create: Some(Opener { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
    block-rename: Some(Opener { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })

Multiplexers
    TMUX               : false
    tmux version       : tmux 3.5a
    tmux build flags   : enable-sixel=Unknown
    ZELLIJ_SESSION_NAME: None
    Zellij version     : No such file or directory (os error 2)

Dependencies
    file          : 5.45
    ueberzugpp    : 2.9.6
    ffmpeg/ffprobe: 7.1 / 7.1
    pdftoppm      : 24.11.0
    magick        : 7.1.1-41
    fzf           : 0.56.3
    fd/fdfind     : 10.2.0 / No such file or directory (os error 2)
    rg            : 14.1.1
    chafa         : 1.14.2
    zoxide        : 0.9.6
    7z/7zz        : 17.05 / No such file or directory (os error 2)
    jq            : 1.7.1

Clipboard
    wl-copy/paste: No such file or directory (os error 2) / No such file or directory (os error 2)
    xclip        : 0.13
    xsel         : No such file or directory (os error 2)


--------------------------------------------------
yazi.log:

  2024-11-23T14:24:06.180738Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:24:06.180800Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:24:06.180815Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:36:20.277338Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:36:20.277384Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:36:20.277407Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:36:20.283398Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:36:20.283420Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:36:20.283425Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:36:20.283553Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:36:20.283562Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:36:20.283606Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:36:37.573091Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:36:37.573132Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:36:37.573154Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:36:37.580481Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:36:37.580507Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:36:37.580513Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:36:37.580667Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:36:37.580680Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:36:37.580684Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:37:42.812053Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:37:42.822155Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: tmux
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:37:42.822180Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:37:47.413364Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:37:47.413426Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:37:47.413432Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:37:51.060825Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:37:51.071069Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: tmux
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:37:51.071098Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:37:53.268667Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:37:53.279025Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: tmux
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:37:53.279052Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:38:02.730919Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:38:02.742223Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: tmux
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:38:02.742246Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:38:16.004216Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:38:16.015609Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: tmux
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:38:16.015642Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:38:16.035711Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:38:16.049194Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: tmux
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:38:16.049270Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:38:16.049698Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:38:16.061407Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: tmux
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:38:16.061439Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:40:08.477277Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:40:08.477339Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:40:08.477361Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:40:20.418592Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:40:20.418627Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:40:20.418640Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:40:22.595602Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:40:22.595637Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:40:22.595659Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:40:43.659202Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:40:43.659247Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:40:43.659252Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:40:48.732986Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:40:48.744452Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: tmux
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:40:48.744486Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:52:17.175840Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:52:17.175876Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:52:17.175889Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95

  2024-11-23T14:52:55.382644Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:75

  2024-11-23T14:52:55.382693Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:90

  2024-11-23T14:52:55.382705Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:99

  2024-11-23T14:53:02.883413Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:75

  2024-11-23T14:53:02.883457Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:90

  2024-11-23T14:53:02.883521Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:99

  2024-11-23T14:53:02.888386Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:75

  2024-11-23T14:53:02.888411Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:90

  2024-11-23T14:53:02.888416Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:99

  2024-11-23T14:53:02.888536Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:75

  2024-11-23T14:53:02.888543Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:90

  2024-11-23T14:53:02.888547Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:99

  2024-11-23T14:53:08.127938Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:75

  2024-11-23T14:53:08.127980Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:90

  2024-11-23T14:53:08.127993Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:99

  2024-11-23T14:53:08.132608Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:75

  2024-11-23T14:53:08.132632Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:90

  2024-11-23T14:53:08.132637Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:99

  2024-11-23T14:53:08.132806Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:75

  2024-11-23T14:53:08.132813Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:90

  2024-11-23T14:53:08.132817Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:99

  2024-11-23T14:54:49.494072Z  WARN yazi_adapter::emulator: [Adapter] No special environment variables detected
    at yazi-adapter/src/emulator.rs:73

  2024-11-23T14:54:49.494112Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM_PROGRAM: 
    at yazi-adapter/src/emulator.rs:87

  2024-11-23T14:54:49.494125Z  WARN yazi_adapter::emulator: [Adapter] Unknown TERM: st-256color
    at yazi-adapter/src/emulator.rs:95


Describe the bug

Before everything, Thank you very much for Yazi devs!

I installed yazi for the first time and I see unknown characters when launching yazi. These characters are not there when I am opening yazi inside a tmux window. These characters also go away when I resize the window once.

In the image both are in st. The left one is normal terminal and the right one it inside a tmux window.

2024-11-23_20-12-46

Even in the tmux window I see the 'a^' character for split second and then it goes.

I just got yazi running in my system. And this is the first thing I see. I do not have any configuration. How do you say I fix it?

Minimal reproducer

Just launching yazi gives me the problem.

Anything else?

No response

Validations

  • I tried the latest nightly build, and the issue is still reproducible
  • I updated the debug information (yazi --debug) input box to the nightly that I tried
  • I can reproduce it after disabling all custom configs/plugins (mv ~/.config/yazi ~/.config/yazi-backup)
@AnkushRoy-code AnkushRoy-code added the bug Something isn't working label Nov 23, 2024
@sxyazi
Copy link
Owner

sxyazi commented Nov 23, 2024

Suckless's st 0.8.5

You're using this fork https://github.com/siduck/st right? It's bug with it, see siduck/st#68

@sxyazi sxyazi added the waiting on op Waiting for more information from the original poster label Nov 23, 2024
@AnkushRoy-code
Copy link
Author

AnkushRoy-code commented Nov 24, 2024

Oh yes I am using that fork.. Will look into st then. Thank you!

@github-actions github-actions bot removed the waiting on op Waiting for more information from the original poster label Nov 24, 2024
@sxyazi sxyazi changed the title Unknown characters siduck/st render border as unknown/garbled characters Nov 24, 2024
@sxyazi sxyazi closed this as not planned Won't fix, can't repro, duplicate, stale Nov 24, 2024
@sxyazi sxyazi added invalid This doesn't seem right and removed bug Something isn't working labels Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants