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

Left and right arrows should have sane behavior #111

Closed
briangordon opened this issue Jan 10, 2020 · 1 comment
Closed

Left and right arrows should have sane behavior #111

briangordon opened this issue Jan 10, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@briangordon
Copy link

Describe the bug
The up/down arrows work correctly, but the left/right arrows seem to take on the behavior of the last vertical arrow you pressed. So:

  • If I'm scrolling up with the up arrow and then press either the left or right arrow, the left or right arrow will continue scrolling up.
  • If I'm scrolling down with the down arrow and then press either the left or right arrow, the left or right arrow will continue scrolling down.

To Reproduce

  1. Hit the up or down arrow.
  2. Hit the left or right arrow.

Expected behavior
Perhaps the left arrow can go up to the parent directory, and the right arrow can drill down to the selected directory (or do nothing if the selected line is not a directory).

Screenshots
N/A

Configuration (please complete the following information):

  • OS: Arch Linux
  • Version 0.11.4
  • Default configuration

Additional context
I'm not sure if this matters at the level of your code but I'm sshing into a headless server and my terminal emulator is using xterm emulation.

@Canop
Copy link
Owner

Canop commented Jan 10, 2020

I reproduce the bug.

Left and right arrows should normally only be used for input edition and should not impact navigation.

@Canop Canop self-assigned this Jan 10, 2020
@Canop Canop added the bug Something isn't working label Jan 10, 2020
@Canop Canop closed this as completed in 9098ad3 Jan 10, 2020
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