-
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?
yakuake 24.08.3
yazi --debug
output
Yazi
Version: 0.3.3 (VERGEN_IDEMPOTENT_OUTPUT 2024-10-09)
Debug : false
OS : linux-x86_64 (unix)
Ya
Version: 0.3.3 (VERGEN_IDEMPOTENT_OUTPUT 2024-10-09)
Emulator
Emulator.via_env: ("xterm-256color", "")
Emulator.via_csi: Ok(Konsole)
Emulator.detect : Konsole
Adapter
Adapter.matches: KittyOld
Desktop
XDG_SESSION_TYPE : Some("wayland")
WAYLAND_DISPLAY : Some("wayland-0")
DISPLAY : Some(":1")
SWAYSOCK : None
HYPRLAND_INSTANCE_SIGNATURE: None
WAYFIRE_SOCKET : None
SSH
shared.in_ssh_connection: false
WSL
WSL: false
Variables
SHELL : Some("/bin/zsh")
EDITOR : Some("nano")
VISUAL : None
YAZI_FILE_ONE : None
YAZI_CONFIG_HOME : None
Text Opener
default: Some(Opener { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
block : Some(Opener { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for_: None, spread: true })
Multiplexers
TMUX : false
tmux version : No such file or directory (os error 2)
ZELLIJ_SESSION_NAME: None
Zellij version : No such file or directory (os error 2)
Dependencies
file : 5.46
ueberzugpp : No such file or directory (os error 2)
ffmpegthumbnailer: 2.2.2
magick : 7.1.1-38
fzf : 0.56.3
fd : 10.2.0
rg : 14.1.1
chafa : No such file or directory (os error 2)
zoxide : No such file or directory (os error 2)
7z : 17.05
7zz : 24.09
jq : No such file or directory (os error 2)
--------------------------------------------------
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/nho/.local/state/yazi" directory
Describe the bug
decided to rename a file with name 168 characters long, by putting cursor in the middle and pressing 'del' button. Yazi crashed when cursor reached end of the name.
cannot remove a char from the end of a string
in rust:library/alloc/src/string.rs, line 1466
thread: main```
### Minimal reproducer
name on which yazi crashed:
`[2024-12-06]_[スタマス] [_SESSION!_] 水瀬伊織 日焼け(ビキニ).mp4?download_token=28e2ca87cfd1c36e0508afb3eaa5ebfc1d972240430e60e005aeac74e52e6121`
Touch file with this name.
yazi - `r` - `end` - `del` - crash
### Anything else?
_No response_
### Checklist
- [X] I tried the [latest nightly build](https://yazi-rs.github.io/docs/installation#official-binaries), and the issue is still reproducible
- [X] I updated the debug information (`yazi --debug`) input box to the nightly that I tried
- [X] I can reproduce it after disabling all custom configs/plugins (`mv ~/.config/yazi ~/.config/yazi-backup`)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working