aboutsummaryrefslogtreecommitdiff
path: root/apps/system/readline/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'apps/system/readline/Kconfig')
-rw-r--r--apps/system/readline/Kconfig39
1 files changed, 39 insertions, 0 deletions
diff --git a/apps/system/readline/Kconfig b/apps/system/readline/Kconfig
new file mode 100644
index 000000000..2ed9cafd6
--- /dev/null
+++ b/apps/system/readline/Kconfig
@@ -0,0 +1,39 @@
+#
+# For a description of the syntax of this configuration file,
+# see misc/tools/kconfig-language.txt.
+#
+
+config SYSTEM_READLINE
+ bool "readline() support"
+ default n
+ ---help---
+ Enable support for the readline() function.
+
+if SYSTEM_READLINE
+config READLINE_ECHO
+ bool "Echo character input"
+ default y
+ ---help---
+ Echo received character input back via stdout. This is normal
+ behavior and should be selected unless the source of stdin input
+ already has local echo support or you need to suppress the back-channel
+ responses for any other reason.
+
+choice
+ prompt "Newline Options"
+ default EOL_IS_EITHER_CRLF
+
+config EOL_IS_CR
+ bool "EOL is CR"
+
+config EOL_IS_LF
+ bool "EOL is LF"
+
+config EOL_IS_BOTH_CRLF
+ bool "EOL is CR and LF"
+
+config EOL_IS_EITHER_CRLF
+ bool "EOL is CR or LF"
+
+endchoice
+endif