commit | 50c0df8d4b93603dde4a4329736cb938961ee1c2 | [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 | 8b360fbbca77635aeb3e88e49dda3d6f75de2197 | |
parent | 852e1b43fd23e2248b71d07e86b83a47991020c9 [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