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

Character inputs that require the Alt key are not working #818

Open
mp-t opened this issue Jan 10, 2024 · 4 comments
Open

Character inputs that require the Alt key are not working #818

mp-t opened this issue Jan 10, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@mp-t
Copy link

mp-t commented Jan 10, 2024

When trying to input text to search for that requires usage of the Alt key, e.g. the backslash \ on the German keyboard layout, broot just eats the input and does not register a character.

Tested on Windows Terminal and Windows conhost.
Broot version 1.26.1

@mp-t mp-t added the bug Something isn't working label Jan 10, 2024
@Canop
Copy link
Owner

Canop commented Jan 10, 2024

Many shortcuts involving the alt keys aren't usable in ANSI terminals.

You can use print_keys to check what's available, and how it's received by the TUI application: https://github.com/Canop/print_key

@mp-t
Copy link
Author

mp-t commented Jan 10, 2024

Not sure if I follow completely but you can use those key combinations in both terminals directly as well as other applications running inside those terminals.

@Canop
Copy link
Owner

Canop commented Jan 10, 2024

I don't have the same keyboard than you so it's a little hard to be sure.
Can you tell me what print_key says when you type the intended combination, and whether it looks right to you ?

@mp-t
Copy link
Author

mp-t commented Jan 10, 2024

The right Alt key is interpreted as Ctrl+Alt.
This is reflected in the print_key output:

You typed Ctrl-Alt-\

This looks correct to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants