Like I wrote in an earlier post I am writing a shell, and now I've gotten as far as having a shell that works fairly well, but I want to add some functionality, but I'm not sure how.
What I want to do is change it so that you can scroll between use commands as in most shells and tab-completion as in e.g. bash. But I'm not sure how to get the input character directly without the user pressing enter.
I've found that this can be done using ncurses, but I think I would have to make major changes in the shell for this, so I was wondering if this can be done some other way or if ncurses is the only way?