We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76bc8c5 commit caf37b6Copy full SHA for caf37b6
1 file changed
WindowTextExtractor/Forms/MainForm.cs
@@ -218,7 +218,7 @@ public bool PreFilterMessage(ref Message m)
218
219
if (!element.Current.IsPassword && _isButtonTargetTextMouseDown)
220
{
221
- var text = element.GetTextFromWindow();
+ var text = element.GetTextFromConsole() ?? element.GetTextFromWindow();
222
txtContent.Text = text == null ? "" : text.TrimEnd().TrimEnd(Environment.NewLine);
223
txtContent.ScrollTextToEnd();
224
UpdateStatusBar();
0 commit comments