I want to add a search function to a program I'm writing that will look through a text file and spit out the results.
That I can do easily enough. I would like it to output like this, which puzzles me:
Search Users
> A
- Adam
- Annette
- Andy
> Ad
- Adam
Is there anyway to have results pop up in real time, through the same or another console, or am I stuck finding another route? If so, what do you recommend me look into?