-
Notifications
You must be signed in to change notification settings - Fork 16
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
Index out of range when returning to homedir #19
Comments
While the issue is easy to reproduce on Linux, I am not able to reproduce the issue on Android/Termux. The issue can be reproduced by using up arrow itself (no mix with page up) and even if I carefully press the up arrow the exact number of times to reach the .. line. |
Could you please give more info for testing. |
Does the folder contain a lot of things? I ran into the same issue when trying to open A fix for that is adding the folder contents line-by-line, instead of all at once like the plugin currently does. |
Fix confirmed, many thanks! |
Micro 1.3.5-17 compiled today from Github + filemanager-plugin compiled today from Github. Tested on Ubuntu. golang-1.8 installed today via apt.
Repro steps:
cd ~/download
micro
Ctrl+E
tree
<navigate using PageUp and Up arrow to .. and press enter => cwd == $HOME>
<navigate using PageUp and Up arrow to .. and press enter => cwd == /home>
<navigate using PageUp and Up arrow to $USER.. and press enter>
Expected: cwd should be $HOME
Actual: micro crashes with unhandled exception:
The text was updated successfully, but these errors were encountered: