1config BR2_PACKAGE_RLWRAP
2	bool "rlwrap"
3	depends on BR2_USE_MMU # fork()
4	select BR2_PACKAGE_READLINE
5	help
6	  rlwrap is a 'readline wrapper', a small utility that uses the
7	  GNU Readline library to allow the editing of keyboard input
8	  for any command.
9
10	  https://github.com/hanslub42/rlwrap
11
12if BR2_PACKAGE_RLWRAP
13
14config BR2_PACKAGE_RLWRAP_SPY_ON_READLINE
15	bool "spy on readline"
16	default y
17	help
18	  If we want to keep the display tidy when re-sizing the
19	  terminal window or printing multi-line prompts, we have to
20	  know whether or not readline is in horizontal-scroll-mode
21	  (i.e. wheter long lines are scrolled or wrapped). At present,
22	  this involves a look at a private readline variable - if you
23	  feel guilty about that, disable this option
24
25config BR2_PACKAGE_RLWRAP_HOMEGROWN_REDISPLAY
26	bool "homegrown redisplay"
27	help
28	  Some people report double echoing of user input. Enabling this
29	  option will cure the problem - though the display will then
30	  flicker over slow connections (cf. BUGS)
31
32config BR2_PACKAGE_RLWRAP_MULTIBYTE_AWARE
33	bool "multibyte awareness"
34	default y
35	depends on BR2_USE_WCHAR
36	help
37	  Prevent rlwrap from seeing multibyte characters as multiple
38	  characters
39
40comment "rlwrap multibyte awareness needs a toolchain w/ wchar"
41	depends on !BR2_USE_WCHAR
42
43endif
44