Files
opentf/command
Martin Atkins 1f1af87dea command/format: Don't try to fill the last terminal column
In some terminal emulators, writing a character into the last column on a
row causes the terminal to immediately wrap to the beginning of the next
line, even if the very next character in the stream is a hard newline.
That can then lead to errant blank lines in the final output which make
it harder to navigate the visual hierarchy.

As a compromise to avoid this, we'll format our horizontal rules and
paragraphs to one column less than the terminal width. That does mean that
our horizontal rules won't _quite_ cover the whole terminal width, but
it seems like a good compromise in order to get consistent behavior across
a wider variety of terminal implementations.
2021-01-13 15:37:04 -08:00
..
2020-12-02 13:59:19 -05:00
2020-12-02 13:59:19 -05:00
2020-12-02 13:59:19 -05:00
2020-12-02 13:59:19 -05:00
2021-01-12 17:47:55 -05:00
2020-12-02 13:59:19 -05:00
2015-04-29 13:07:13 -05:00
2020-12-02 13:59:19 -05:00
2021-01-12 17:47:55 -05:00
2020-10-08 08:42:16 -04:00
2020-10-05 08:33:49 -04:00
2021-01-12 17:47:55 -05:00
2020-12-02 13:59:19 -05:00
2020-10-07 11:00:06 -04:00
2019-07-18 16:11:41 -04:00
2020-12-02 13:59:19 -05:00
2020-12-09 10:10:02 -08:00
2020-12-09 10:10:02 -08:00
2021-01-12 17:47:55 -05:00
2020-10-08 08:42:16 -04:00
2018-10-16 18:24:47 -07:00
2021-01-12 17:47:55 -05:00
2021-01-12 17:47:55 -05:00
2020-12-02 13:59:19 -05:00
2020-10-08 08:42:16 -04:00
2020-12-02 13:59:19 -05:00
2020-10-08 08:42:16 -04:00
2020-12-02 13:59:19 -05:00
2020-10-08 08:42:16 -04:00
2020-12-02 13:59:19 -05:00
2021-01-12 17:47:55 -05:00
2020-12-02 13:59:19 -05:00
2020-10-08 08:42:16 -04:00
2020-10-05 08:33:49 -04:00
2021-01-12 17:47:55 -05:00
2020-12-02 13:59:19 -05:00