mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Add support for backspace and a cursor to NxConsole
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4546 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -69,6 +69,8 @@
|
||||
* Currently, NxConsole supports only a single pixel depth. This
|
||||
* configuration setting must be provided to support that single pixel depth.
|
||||
* Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP)
|
||||
* CONFIG_NXCONSOLE_CURSORCHAR
|
||||
* The bitmap code to use as the cursor. Default '_'
|
||||
* CONFIG_NXCONSOLE_NOGETRUN
|
||||
* NxConsole needs to know if it can read from the LCD or not. If reading
|
||||
* from the LCD is supported, then NxConsole can do more efficient
|
||||
@@ -95,6 +97,12 @@
|
||||
* that the text is simply truncated until a new line is encountered.
|
||||
*/
|
||||
|
||||
/* Cursor character */
|
||||
|
||||
#ifndef CONFIG_NXCONSOLE_CURSORCHAR
|
||||
# define CONFIG_NXCONSOLE_CURSORCHAR '_'
|
||||
#endif
|
||||
|
||||
/* The maximum number of characters that can be remembered */
|
||||
|
||||
#ifndef CONFIG_NXCONSOLE_MXCHARS
|
||||
|
||||
Executable → Regular
Reference in New Issue
Block a user