Prepend clipboard to query

This commit is contained in:
Garulf 2024-02-04 10:23:37 -05:00
parent 694e504a19
commit 7ada82afd1

View file

@ -76,7 +76,8 @@ namespace Flow.Launcher
{ {
if (System.Windows.Clipboard.ContainsText()) if (System.Windows.Clipboard.ContainsText())
{ {
_viewModel.ChangeQueryText(System.Windows.Clipboard.GetText().Replace("\n", String.Empty).Replace("\r", String.Empty)); var clipboardText = System.Windows.Clipboard.GetText().Replace("\r\n", " ");
QueryTextBox.SelectedText = clipboardText;
e.Handled = true; e.Handled = true;
} }
} }