Descriptiongo.crypto/ssh/terminal: fix crash when terminal narrower than prompt.
Previously, if the current line was "empty", resizes wouldn't trigger
repaints. However, the line can be empty when the prompt is non-empty
and the code would then panic after a resize because the cursor position
was outside of the terminal.
Patch Set 1 #Patch Set 2 : diff -r 2a61df2221b6be21be1c1ded77821b0f71b29584 https://code.google.com/p/go.crypto/ #Patch Set 3 : diff -r d415780565165acd4cc9d476e485d4603b7c42ec https://code.google.com/p/go.crypto/ #MessagesTotal messages: 4
|