summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryLocalTest.cpp
diff options
context:
space:
mode:
authorJack Palevich <jackpal@google.com>2010-06-04 14:32:01 +0800
committerJack Palevich <jackpal@google.com>2010-06-04 14:32:01 +0800
commit192a28831520dee50410a17953d87280d0fd8996 (patch)
treea59aea57fc534e809a9fadcefdeb185865a60c72 /libunwindstack/tests/MemoryLocalTest.cpp
parentad5431d2ca9c4dd454dfb3bc8e9de3ee0ad28a27 (diff)
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
Diffstat (limited to 'libunwindstack/tests/MemoryLocalTest.cpp')
0 files changed, 0 insertions, 0 deletions