I'm working on a project that detects matches in a text file. If a match is found, it displays an asterisks in the terminal. However...when a second or more match(s) are found, instead of displaying another asterisks on a second line I want to add it to the same line.
What I have so far is this:
...and what I plan to have it look like is this:
![[Image: HblMF0I.png]](https://i.imgur.com/HblMF0I.png)
In a sense I could just add an asterisks to an already existing variable and just clear/re-echo everything, but that causes lag, etc. I was wondering if anyone knew how to update the line rather than displaying everything over again?
What I have so far is this:
Code
For Each fileLn As String In File.ReadLines("C:\path\file.txt")
If fileLn.ToString = "0x0" Then
Add()
End If
Next
Private Sub Add()
'Add another asterisks to same line.
End Sub()...and what I plan to have it look like is this:
![[Image: HblMF0I.png]](https://i.imgur.com/HblMF0I.png)
In a sense I could just add an asterisks to an already existing variable and just clear/re-echo everything, but that causes lag, etc. I was wondering if anyone knew how to update the line rather than displaying everything over again?



