-
Notifications
You must be signed in to change notification settings - Fork 465
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
Some keybind don’t work on some french layout #1435
Comments
Please apply this patch and build Yazi in debug mode, then check the log file to see what key was reported --- yazi/yazi-fm/src/app/app.rs
+++ yazi/yazi-fm/src/app/app_new.rs
@@ -81,7 +81,10 @@
fn dispatch_render(&mut self) { NEED_RENDER.store(true, Ordering::Relaxed); }
#[inline]
- fn dispatch_key(&mut self, key: KeyEvent) { Router::new(self).route(Key::from(key)); }
+ fn dispatch_key(&mut self, key: KeyEvent) {
+ tracing::error!(?key);
+ Router::new(self).route(Key::from(key));
+ }
#[inline]
fn dispatch_paste(&mut self, str: String) { |
I will do that after work. However, a friend told me that as yazi uses crossterm, it might be this bug: crossterm-rs/crossterm#820 |
Seems to be the bug I linked |
Does it work if you use something like |
it does! That will do I think :) |
Glad to see it worked! I recommend using this workaround until the issue is fixed upstream. Yazi just passes through events from |
Unexpected issue related to this: I can’t create directories as I can’t input |
Check out https://github.com/Sonico98/mkdir.yazi This plugin without the need to type |
I'm going to lock this issue because it has been closed for 30 days. ⏳ |
What system are you running Yazi on?
Windows
What terminal are you running Yazi in?
wezterm
yazi --debug
outputDid you try the latest nightly build to see if the problem got fixed?
Yes, and I updated the debug information above (
yazi --debug
) to the nightly that I triedDescribe the bug
I’m using a french layout named Ergo‑L and to type
/
I useAltGr+i
but it doesn’t trigger the search.Same for the
?
on the AltGr layer. the direct?
work thoughMinimal reproducer
Install Ergo‑L and do
/
usingAltGr+l
(l
in qwerty position = `i in ergo‑l)Anything else?
No response
The text was updated successfully, but these errors were encountered: