When fetching lines from history, don't fill in the right side of the line with the default color. Instead, extend the last cell's color to the end. This isn't a perfect solution because we should really save the color separately (it could be different) but it's a big improvement. Partially fixes bug 2259