The reason for this change is that e.g. the prompt which can be any of ">" or "> " (with space).
If the device uses "> " as prompt, and if we digest the partial prompt ">", then there will be a space in the ingress buffer for the next digest. This space should be trimmed.
The reason for this change is that e.g. the prompt which can be any of ">" or "> " (with space). If the device uses "> " as prompt, and if we digest the partial prompt ">", then there will be a space in the ingress buffer for the next digest. This space should be trimmed.