rabite0 / hunter

The fastest file manager in the galaxy!
Do What The F*ck You Want To Public License
1.31k stars 64 forks source link

panic after scrolling down to bottom of file/directory list outside of home folder #99

Open AviiNuo opened 4 years ago

AviiNuo commented 4 years ago

When I navigate to the root folder in hunter then press the down key I get this error:

thread '' panicked at 'called Option::unwrap() on a None value', /home/aviinuo/.cargo/registry/src/github.com-1ecc6299db9ec823/tree_magic-0.2.1/src/lib.rs:600:40 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace ^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B

A similar thing happens on other folders but the cli doesnt disappear but moves up a line and shows ^[[B^[[B^[[B^[[B^[[B^[[B^[[B^[[B along the bottom

Also sorry if I'm being an idiot, but I can for the life of me figure out the cwd on quit section of the readme and get it working.