I want to implement command line functions, for example in linux terminal. I also saw this on the ftp command.
- If I click the tab, I need to specify the commands.
- If I press control characters, I need to get these characters based on the fact that I will do some action.
- And if I give commands, they must be executed.
For this, I tried with Term :: ReadKey , which is in noncanonical mode. But here I encounter a lot of problems, for example, if I press any control symbol or arrow, I have three symbols. For the up arrow, I got ASCII 27 91 65.
Can someone help me solve this problem?
source
share