Hello, i'm trying to code up a little command interpreter for the terminal.
basically it's like this:
Suppose the first command that I enter is "create blah," then I hit enter.
The command is executed.
NOW i just hit enter again without typing anything else, and it executes the command again because the input was not flushed.
Any help? Thanks.