Made left align work with a line buffer