kustomzone / plush

Plush is a browser-based shell or terminal.
Apache License 2.0
0 stars 0 forks source link

tab expansion of directory names are less user-friendly than they could be #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. type 'ls' and then part of the name of a directory
2. hit TAB

What is the expected output? What do you see instead?

The full directory name should be tab-expanded followed by a '/' character. 
Plush expands the directory name but does not add a '/' at the end

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by j...@glyphic.com on 22 Dec 2012 at 8:18

GoogleCodeExporter commented 9 years ago
Also, the completed value is not escaped. For example, if you are trying to 
complete a folder name that contains spaces, currently it will be completed 
with unescaped spaces, and ls will obviously fail.

Since both the trailing slash and escaping are context dependent, this should 
be fixed in the Haskell code, not in the JavaScript frontend.

Original comment by mscurte...@google.com on 27 Dec 2012 at 7:36

GoogleCodeExporter commented 9 years ago

Original comment by mscurte...@google.com on 27 Dec 2012 at 11:17