Canop / broot

A new way to see and navigate directory trees : https://dystroy.org/broot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Character inputs that require the Alt key are not working

mp-t opened this issue · comments

commented

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

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

commented

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.

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 ?

commented

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.