-
Notifications
You must be signed in to change notification settings - Fork 605
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
kitty 0.33.1
Did you try the latest code to see if this problem got fixed?
Tried, but the problem still
yazi --debug
output
Yazi
Version: 0.2.4 (9e75ed5 2024-04-16)
OS: linux-x86_64 (unix)
Debug: false
Emulator
Emulator.via_env: ("xterm-kitty", "")
Emulator.via_csi: Ok(Kitty)
Emulator.detect: Kitty
Adaptor
Adaptor.matches: Kitty
Desktop
XDG_SESSION_TYPE: Some("wayland")
WAYLAND_DISPLAY: Some("wayland-1")
DISPLAY: Some(":0")
SSH
shared.in_ssh_connection: false
WSL
/proc/sys/fs/binfmt_misc/WSLInterop: false
Variables
SHELL: Some("/bin/zsh")
EDITOR: Some("nvim")
ZELLIJ_SESSION_NAME: None
YAZI_FILE_ONE: None
YAZI_CONFIG_HOME: None
file(1)
Version: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "file-5.45\nmagic file from /usr/share/file/misc/magic\nseccomp support included\n", stderr: "" })
Text Opener
default: Some(Opener { run: "~/.dotfiles/scripts/yazi/kitty_cmds.sh -v \"$@\"", block: false, orphan: true, desc: "Open in nvim", for_: None, spread: true })
block: Some(Opener { run: "$EDITOR \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
tmux
TMUX: false
Ueberzug++
Version: Ok(Output { status: ExitStatus(unix_wait_status(0)), stdout: "ueberzugpp 2.9.4\n", stderr: "" })
--------------------------------------------------
When reporting a bug, please also upload the `yazi.log` log file - only upload the most recent content by time.
You can find it in the "/home/sonico/.local/state/yazi" directory.
yazi.log is empty.
Describe the bug
After commit 9e75ed5, Yazi crashes when browsing directories where a file named Hatsuki Yura (葉月ゆら)
is present. I'm sorry, I haven't been able to find some other example that causes a crash.
> RUST_BACKTRACE=full yazi
Backtrace (most recent call first):
File "<unknown>", line 0, in __libc_start_main
The application panicked (crashed).
byte index 19 is not a char boundary; it is inside '月' (bytes 17..20) of `Hatsuki Yura (葉月ゆら)`
in /build/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.26.2/src/text/line.rs, line 477
thread: main
Expected Behavior
To not crash ^^'
To Reproduce
Create a directory with the name: Hatsuki Yura (葉月ゆら)
, then try to navigate into any directory in the same folder.
Configuration
no config
Anything else?
No response
sxyazi
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working