broot: up/down arrow keys do nothing.
I just installed broot for the first time with ‘cargo install broot’ on ubuntu linux 16.04 using bash.
To Reproduce
After invoking br ~, I see a directory tree, but navigation keys such as up/down arrow and pg up/down do nothing.
Expected behavior upon pressing down arrow or up arrow, the selected line should move down or up accordingly.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 18 (5 by maintainers)
Necroposting here, but want to add my 2 cents, so that others bang their heads against the wall a little less.
In my case dropping
zle -N zle-line-finishfrom my .zshrc file remedied broot up and down keys not working.There are two interestingly related issues: https://github.com/cantino/mcfly/issues/108 https://github.com/cantino/mcfly/issues/83
Here is the log if I set
EDITOR="nvim". I pressed up and down, and then:qto exit. Note that I amsshing to a Mac VM, and that’s why I was using a terminal editor. The issue happens kind of randomly (sometimes it works).Here is another one that I pressed down a couple of times, then exited with CTRL+C
I am also having the same issue. What was the solution? It happens rather randomly.
The issue seems to have something to do with the
EDITORenvironment variable. My bash_profile was setting it tonvim, which caused some issues. Unsetting this variable fixes the problem.