question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MenuComplete tab completion does not render properly

See original GitHub issue

I’m sure I’ve seen and fixed this before, but it’s happening again in the current PSReadLine 2 alpha/

Environment data

PS version: 6.1.0-preview.2
PSReadline version: 2.0.0-alpha1
os: 10.0.17692.1000 (WinBuild.160101.0800)
PS file version: 6.1.0

Steps to reproduce or exception report

 Set-PSReadlineKeyHandler -Chord Tab -Function MenuComplete

Use tab to menu complete. Notice the cursor doesn’t unselect the previous entry, so everything gets selected.

image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lzybkrcommented, Jun 22, 2018

I see - that is pulling a hidden release which never should have been published. If you remove the -RequiredVersion parameter, it would install 2.0.0 -beta2 which is what you want (but it’s included in preview 3, so that’s good too.)

I’m closing as I believe there is no further investigation needed on my part.

0reactions
mikemaccanacommented, Jun 22, 2018

All good on preview 3. Thanks @lzybkr ! ✨👍🙌

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I make bash tab completion behave like vim ...
Lay and solved it by putting Tab:complete "\e[Z":menu-complete in my .inputrc . That way, Tab has the original behavior and Shift + Tab...
Read more >
[Solved] Tab Completion Not Working in Ubuntu & Debian
Tab completion not working for you in the terminal? Here's the easy way to fix it in Ubuntu/Debian based distributions.
Read more >
OSX bash terminal auto-completion - odd behavior on ...
It sounds like you have menu-complete , not complete , bound to the tab key. (Confirm with bind -P | grep menu-complete .)...
Read more >
bash - Tab completion doesn't work for commands
Tab completion works correctly only for directories or files. Any ideas where to dig? bash · auto-completion · Share.
Read more >
How can I make zsh completion behave like Bash ...
Try: setopt autolist unsetopt menucomplete.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found