@findux
Maybe there may be some text left in the filter of the terminal window. If you delete it it will be fixed.
Happened to me. Even if close and open vscode again, it can keep the last search.