"James Coglan via GitGitGadget" <gitgitgadget@xxxxxxxxx> writes: > From: James Coglan <jcoglan@xxxxxxxxx> > > Now that the display width of graph lines is implicitly tracked via the > `graph_line` interface, the calls to `graph_pad_horizontally()` no > longer need to be located inside the individual output functions, where > the character counting was previously being done. > > All the functions called by `graph_next_line()` generate a line of > output, then call `graph_pad_horizontally()`, and finally change the > graph state if necessary. As padding is the final change to the output > done by all these functions, it can be removed from all of them and done > in `graph_next_line()` instead. Very well explained.