H
H
HoShik2021-12-05 19:25:45
C++ / C#
HoShik, 2021-12-05 19:25:45

How to create your own command history for a console application?

Essence: there is a list of commands sent to the program
When you press the up / down keys, the list is iterated over
The problem that I don’t know how to solve: you need the text of each command to be entered into the console for sending, but not sent (in short, simulate the history of commands from Windows or Linux terminals)
What are the implementation methods?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question