-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix flaky tab writing behavior using text/tabwriter (#25)
* fix flaky tab writing behavior This fixes problems with tab writing caused by using a regular os.File writer. By standardizing the tab writer’s usage and ensuring consistent initialization, we improve the reliability and consistency of output formatting a lot. * view: improve tabwriter documentation * view: add the ability to debug the tabwriter In the past, we’ve faced too many issues with flaky tab formatting. If the `debug` flag is specified, we should enable debugging for the tabwriter as well, leveraging its built-in support for this. * view: move newline handling back to renderer * view: preserve comment
- Loading branch information
1 parent
40a1886
commit a6aa63e
Showing
2 changed files
with
24 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters