Terminus icon indicating copy to clipboard operation
Terminus copied to clipboard

tab completion after a complete path adds an extra \t (tab character)

Open rdeits opened this issue 11 years ago • 2 comments

Example: (from Home):

cd MIT[tab] There is no room called MIT .

(note the tab character between "MIT" and "." on the last line.

edit: github makes this harder to show, because it converts the tab between "MIT" and "." to a single space.

rdeits avatar Apr 30 '13 21:04 rdeits

This happens because jquery terminal processes the "\t" character as a potential character in a name. Not sure we care enough in general to fix this, but it might be nice for cleanliness.

mprat avatar May 01 '13 19:05 mprat

Maybe just strip all whitespace at the end of each command? This might also fix the "cd ~" issue you were having in case there are other users with the same non-US keyboard layout.

rdeits avatar May 01 '13 19:05 rdeits