I tried to store the characters in an array, but when I echo te characters on the console (Tera term/putty), those echoed characters are taken as inputs as well.
I am not able to clear the echoed buffer. And I'm not exactly sure how to use cmdline.h/cmdline.c functions, any tutotiral? Any help would be appreciated.