Closed terrancewong closed 5 years ago
This is Working By Design
. The conversion of bare line-feed
into a line-feed carriage return
is a feature of a “cooked” terminal: https://unix.stackexchange.com/questions/366423/unexpected-indentation-behaviour-when-i-set-the-terminal-to-raw-mode-why-is-th/366426
OS: Linux
After
Any
fmt.Printf("something ...\n")
orfmt.Println()
to stdio results LF only, without CR. Have to print ending with"\n\r"