terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Search is often broken while console process is running

Open asklar opened this issue 6 years ago • 7 comments

Environment

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

Any other software?

Steps to reproduce

have a long running process (e.g. msbuild), and ctrl+F to find something. Often the match will be off by one line 10.0.18362.113

Expected behavior

I can find the text properly

Actual behavior

The text that gets selected when searching is not the right text

asklar avatar Jun 12 '19 05:06 asklar

image

note that the line that conhost selects is not the one with the text "file not found" (not shown since the buffer scrolled) but the next one.

asklar avatar Jun 12 '19 06:06 asklar

This is probably not a new regression; I think we probably broke this in RS5.

DHowett-MSFT avatar Jun 13 '19 21:06 DHowett-MSFT

I'm on 0.5.2762.0 and I don't see any search functionality. Ctrl+f in a cmd tab just prints ^F. I'd love to use search but I'm not seeing how to invoke it.

rkeithhill avatar Oct 14 '19 21:10 rkeithhill

Hey @rkeithhill: image

This repo contains the console host and the terminal.

:smile:

DHowett-MSFT avatar Oct 14 '19 21:10 DHowett-MSFT

Well, I guess conhost has one up on WT - just for the moment (I hope). :-)

rkeithhill avatar Oct 14 '19 21:10 rkeithhill

Pretty sure this is fixed by #15858

zadjii-msft avatar Aug 22 '23 19:08 zadjii-msft

This didn't look fixed in the conhost in 26051.1000.amd64fre.ge_release_we_adept.240201-1823. I don't know if that has the FI including the updated console code from main though.

But also: that doesn't seem to matter. Still broken in openconsole as of ef96e225d.

zadjii-msft avatar Feb 06 '24 22:02 zadjii-msft