func (lines *Buffer) AddLine(line string) {
	lines.buf.WriteString(line)
	// # TODO: check if newline is already present.
	lines.buf.WriteRune('\n')
}
// AddLine writes a line of text in the buffer.
// A newline is appended at the end of the strigns
// only if it's not already present.
AddLine writes a line of text in the buffer.
A newline is appended at the end of the strigns
only if it's not already present.
// AddLine writes a line of text in the buffer . // A newline is appended at the end of the strigns // only if it ' s not already present .
func (lines *Buffer) AddLine(line string) {
	lines.buf.WriteString(line)
	lines.buf.WriteRune('\n')
}
func ( lines * Buffer ) AddLine ( line string ) { lines . buf . WriteString ( line ) lines . buf . WriteRune ( '\n' ) }
AddLine writes a line of text in the buffer.
AddLine writes a line of text in the buffer .
// # TODO: check if newline is already present.