Skip to content
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

FileSystemTabCompletionSource when the completion has files with spaces #91

Open
K2 opened this issue Jan 17, 2016 · 0 comments
Open

FileSystemTabCompletionSource when the completion has files with spaces #91

K2 opened this issue Jan 17, 2016 · 0 comments

Comments

@K2
Copy link

K2 commented Jan 17, 2016

Thanks for the tool, i'm using the dev branch to include some of your more recent fixes (I did a fresh clone about a minute a go).

In a REPL mode if your expansion has spaces in it, the quoting that happens will start to break the interface. i.e. c:\p[tab] that will expand out, if you just hit tab a few more times, things go haywire in TryComplete for FileSystemTabCompletionSource.

It looks like when get the next tab, the processing is OK in the TryComplete but when it passes the next string back down, the cursor position isn't placed properly back and one of the methods down in the ConsoleString.ReadLine loop will start indexed from LastIndexOf '" " or something since you wind up (3 quotes)

"c:\Program "c:\Program Files (x86)"

Seems easy enough to fix by having the previous cursor left reset, I just had a few other things to work on ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants