railsware / upterm

A terminal emulator for the 21st century.
MIT License
19.24k stars 617 forks source link

Autocomplete suggestions conflict when typing paths #1247

Open Vinno97 opened 7 years ago

Vinno97 commented 7 years ago

Hi,

I've found a bug/quirk with the autocompletion that is quite annoying.

When I (for example) type cat, it suggests a list of possible options and files. But when I start typing a path like cat /etc/, Upterm keeps suggesting options instead of possible directories/paths.

This is how it's designed: image

In this case I would only expect the files in the corresponding folder: image

When I know that there's only one file in the directory, I automatically press TAB, which causes the following non-existant path:

image

RNabel commented 7 years ago

Can confirm, same problem here. If there are any pointers re how to fix this by the devs, I'm happy to have a go at a PR.

rawnly commented 7 years ago

Can confirm to!