Closed trylimits closed 9 years ago
1.) and 3-5.) done
Backspace support has to be implemented by overriding __backspace(..)
(see. http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0378d/Chdjigab.html )
6.) done
I found an issue in using the `character. If there is already an input hitting space will return from
scanf`.
Above commits solves the scanf
issue. It wasn't actually a bug in our implementation :) See http://stackoverflow.com/questions/1247989/how-do-you-allow-spaces-to-be-entered-using-scanf
Which characters are missing at the moment?
Backspace support for sure (but minor) and some other characters which we should add time after time (if needed). Marking this ticket as pending?
The console should abort an empty input directly without making a system call.
Above commits extends the set of accepted characters and fixed the bug of an empty input. However, we cannot get backspace support if we keep using scanf
for the prompt input.
The current implementation can be considered a simple, working console which does not support:
1.) Backspace 2.) Command history (up down keys) 3.) Cursor movement
Overall we should consider to implement an advanced console. I will open a new ticket for this.
The console should accept:
"
character*
character|
character.
character