Descriptionexp/terminal: add SetPrompt and handle large pastes.
(This was missing in the last change because I uploaded it from the
wrong machine.)
Large pastes previously misbehaved because the code tried reading from
the terminal before checking whether an line was already buffered.
Large pastes can cause multiples lines to be read at once from the
terminal.
Patch Set 1 #Patch Set 2 : diff -r 4c300745d3c3 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 4c300745d3c3 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 06cebc7f3a29 https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 06cebc7f3a29 https://go.googlecode.com/hg/ #MessagesTotal messages: 2
|