Byron / dua-cli

View disk space usage and delete unwanted data, fast.
https://lib.rs/crates/dua-cli
MIT License
4.19k stars 113 forks source link

Home/End keys don't work in help or mark panes #168

Closed IndigoLily closed 11 months ago

IndigoLily commented 1 year ago

H and G scroll to top/bottom as expected.

Additional Information
Dua Version 2.20.1
Install Method cargo install dua-cli
Terminal
Alacrittywith no custom keybinds for home/end
Operating System Arch Linux
Byron commented 1 year ago

Thanks for reporting! I think this never really worked even though the key-bindings are configured, and is probably related to the underlying library somehow. It probably takes some time to dig in and understand what's going on in order to fix this, with a chance that it works differently in different terminals depending on how close they are to "the spec".

gosuwachu commented 1 year ago

I have tested this on macOS in Terminal.app and iTerm and in both it seems to work fine.

Byron commented 1 year ago

@IndigoLily Could you re-validate this on your platform with the latest release?

gosuwachu commented 11 months ago

I have tried it in Alacritty - home/end keys do work in the help pane no problem. I suspect this was fixed either in Alacritty or one of dua's dependencies. Either way, imho this issue can be closed.

Byron commented 11 months ago

Let's do that, as it's easy to open a new issue or reopen this one once there is new information.