summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-03-31 16:26:32 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-03-31 16:26:32 +0000
commit383bcc132afd8bac784c76af40002cfa38029581 (patch)
tree5c550181d08f76408da5d71e784b9cdfa8c1c8ae /nuttx/include
parent421258dad4dee7bc7fadd7619749b1bda370c773 (diff)
downloadpx4-nuttx-383bcc132afd8bac784c76af40002cfa38029581.tar.gz
px4-nuttx-383bcc132afd8bac784c76af40002cfa38029581.tar.bz2
px4-nuttx-383bcc132afd8bac784c76af40002cfa38029581.zip
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
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/nx/nxconsole.h8
-rw-r--r--[-rwxr-xr-x]nuttx/include/nuttx/vt100.h0
2 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/nx/nxconsole.h b/nuttx/include/nuttx/nx/nxconsole.h
index 4a9e43ea5..48ac3eacd 100644
--- a/nuttx/include/nuttx/nx/nxconsole.h
+++ b/nuttx/include/nuttx/nx/nxconsole.h
@@ -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
diff --git a/nuttx/include/nuttx/vt100.h b/nuttx/include/nuttx/vt100.h
index a0254e88a..a0254e88a 100755..100644
--- a/nuttx/include/nuttx/vt100.h
+++ b/nuttx/include/nuttx/vt100.h