Ctrl+F doesn't bring up find dialog in cmd+PS #1629

Closed
opened 2026-01-30 22:32:25 +00:00 by claunia · 3 comments
Owner

Originally created by @asklar on GitHub (Jun 12, 2019).

Environment

Windows build number: 10.0.18362.86
Windows Terminal version (if applicable):

Any other software?

Steps to reproduce

cmd then launch powershell, ctrl+F prints ^F on the command line instead of bringing up the find dialog

Expected behavior

find dialog is brought up

Actual behavior

^F is displayed

image

Originally created by @asklar on GitHub (Jun 12, 2019). # Environment ```none Windows build number: 10.0.18362.86 Windows Terminal version (if applicable): Any other software? ``` # Steps to reproduce cmd then launch powershell, ctrl+F prints ^F on the command line instead of bringing up the find dialog <!-- A description of how to trigger this bug. --> # Expected behavior find dialog is brought up # Actual behavior ^F is displayed ![image](https://user-images.githubusercontent.com/22989529/59378767-efdd7180-8d09-11e9-857d-015d420807f7.png) <!-- What's actually happening? -->
claunia added the Product-ConhostIssue-QuestionResolution-By-DesignArea-Input labels 2026-01-30 22:32:25 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jun 12, 2019):

I'm pretty sure this is because of PSReadline using raw input mode. If you Remove-Module PSReadline, the find dialog will work again, but break a bunch of other powershell functionality psreadline provides.

For the record, Ctrl+F doesn't work in wsl for the same reason.

While it may not be the best behavior, it is by design, and hopefully something we can fix in the new terminal (by providing custom keybindings)

@zadjii-msft commented on GitHub (Jun 12, 2019): I'm pretty sure this is because of PSReadline using raw input mode. If you `Remove-Module PSReadline`, the find dialog will work again, but break a bunch of other powershell functionality psreadline provides. For the record, Ctrl+F doesn't work in wsl for the same reason. While it may not be the best behavior, it is *by design*, and hopefully something we can fix in the new terminal (by providing custom keybindings)
Author
Owner

@DHowett-MSFT commented on GitHub (Jun 12, 2019):

@lzybkr may be interested in the PSReadline angle -- perhaps there's a binding that'll work for this?

@DHowett-MSFT commented on GitHub (Jun 12, 2019): @lzybkr may be interested in the PSReadline angle -- perhaps there's a binding that'll work for this?
Author
Owner

@lzybkr commented on GitHub (Jun 12, 2019):

See this comment.

@lzybkr commented on GitHub (Jun 12, 2019): See this [comment](https://github.com/PowerShell/PSReadLine/issues/280#issuecomment-441338880).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1629