platform_system_core/liblinenoise
Jack Palevich 192a288315 Improve linenoise.c compatability.
+ Don't flush characters when switching into and out of raw mode. This
avoids eating characters that follow '\n'. (Such characters can occur
when pasting multiple line input, or when scripts are driving input.)

+ Try to be slightly cleverer about calculating the length of the prompt,
so that prompts with embedded '\n' characters are handled OK. This is
an area that really needs to be replaced with a query of the cursor
position from the terminal.

+ As a hack, just assume the screen is very wide if we don't know how
wide it is. This allows dexpropt to work correctly. (It was getting
confused by the editing commands emitted when the end-of-line was reached.)

Change-Id: I988dd0f0bceb22b298e915be0dde085c9358ef66
2010-06-04 14:32:01 +08:00
..
Android.mk Use linenoise to add simple editing and history to the Android shell. 2010-05-25 14:49:57 +08:00
MODULE_LICENSE_BSD_LIKE Use linenoise to add simple editing and history to the Android shell. 2010-05-25 14:49:57 +08:00
NOTICE Use linenoise to add simple editing and history to the Android shell. 2010-05-25 14:49:57 +08:00
linenoise.c Improve linenoise.c compatability. 2010-06-04 14:32:01 +08:00
linenoise.h Use linenoise to add simple editing and history to the Android shell. 2010-05-25 14:49:57 +08:00