commit | 4cf6f10e6498f4e4d1411438b929b08c52cda952 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Nov 04 13:36:32 2015 -0800 |
committer | Elliott Hughes <enh@google.com> | Mon Nov 09 13:57:47 2015 -0800 |
tree | 9e99a164395d3a504815714b537036df8505b0b0 | |
parent | 0e20f1184a5d9bbe66a44303f3cda758bd996049 [diff] |
Fix adb shell escape handling. Start of input is, by definition, the start of a line. Give the states names to make the error clearer. We should also swallow the escape character until/unless it's proven not to have been part of an escape sequence. Finally, implement an ssh(1)-like -e option so the user can choose -- or, more importantly, disable -- escape character handling. Change-Id: I28a91db47e15f3e7de96303c0b9a98d302b9c92e