mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 20:43:34 +08:00
Add support for backspace and a cursor to NxConsole
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4546 7fd9a85b-ad96-42d3-883c-3090e2eb8679
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