Skip to content

Tab Completion of Lines with NewLine Character #13

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

Closed
frizop opened this issue Sep 10, 2013 · 3 comments
Closed

Tab Completion of Lines with NewLine Character #13

frizop opened this issue Sep 10, 2013 · 3 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@frizop
Copy link

frizop commented Sep 10, 2013

When I do something like the following:

[1] Get-Alias `
| Out-Null
[2] #Out

The output shows Get-Alias `◙| Out-Null

Also, it spits out, in some cases 1000 lines for me, maybe there should be a limit on the number of returned items?

@lzybkr
Copy link
Contributor

lzybkr commented Sep 12, 2013

A limit is definitely needed.
Bash has a simple pager, that helps some but I probably won't do that for awhile.
I'm open to suggestions on what to display when there are control characters. Truncate? Replace with a space. Show escape sequence? Actually wrap so some possible completions take multiple lines?

@frizop
Copy link
Author

frizop commented Sep 12, 2013

I would just truncate the character and not return it imho

@lzybkr
Copy link
Contributor

lzybkr commented Oct 21, 2013

Fixed 256db70 - no paging but it will prompt before displaying 100 items. This is configurable, e.g.:

Set-PSReadlineOption -CompletionQueryItems 100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

2 participants