readline() (and hence NSH) now accept the DEL character as well as the Backspace character for the backspace functionality

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4428 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-02-25 20:46:18 +00:00
parent fe55532f34
commit 2bc54edaf3
5 changed files with 71 additions and 7 deletions
+4
View File
@@ -192,3 +192,7 @@
* apps/examples/qencoder: Add a quadrature driver test.
* apps/examples/ostest/fpu.c: Add a test to verify that FPU registers
are properly saved and restored on context switches.
* apps/system/readline/readline.c: readline() will now treat either a
backspace or a DEL character as a backspace (i.e., deleting the character
to the left of the cursor). This makes NSH less dependent on particular
keyboard mappings of the Backspace key. Submitted by Mike Smith.