Files
crypto/ssh
Adam Langley 95cb608f36 x/crypto/ssh/terminal: replace \n with \r\n.
911fafb28f made MakeRaw match C's behaviour. This included clearing the
OPOST flag, which means that one now needs to write \r\n for a newline,
otherwise the cursor doesn't move back to the beginning and the terminal
prints a staircase.

(Dear god, we're still emulating line printers.)

This change causes the terminal package to do the required
transformation.

Fixes golang/go#17364.

Change-Id: Ida15d3cf701a21eaa59161ab61b3ed4dee2ded46
Reviewed-on: https://go-review.googlesource.com/33902
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-12-07 22:17:40 +00:00
..
2016-07-06 16:40:51 +00:00
2014-04-09 13:57:52 -07:00
2014-04-09 13:57:52 -07:00
2016-07-06 16:40:51 +00:00
2014-04-09 13:57:52 -07:00
2015-05-14 18:39:32 +00:00
2014-04-09 13:57:52 -07:00
2016-07-06 16:40:51 +00:00