aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell
diff options
context:
space:
mode:
authorGravatar Klaus Aehlig <aehlig@google.com>2016-02-29 09:53:48 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2016-02-29 17:39:54 +0000
commitb47288152eef10d39744fd633e43e3722d910b12 (patch)
tree7839a980cea6aa5bf6557f1b09dfaf038c5631d3 /src/test/shell
parentdb7a8163e47bd66cd0817981dde3ab215aa51b7b (diff)
Add wrapper class around AnsiTerminalWriter that breaks lines
In order to update Bazel's progress bar, the old one has to be removed first; this requires knowledge about the number of lines it currently uses. For small terminals, this requires us to take line breaks into account. While this normally works well, there are situations where our believe about the terminal width is smaller that the actual width of the terminal, causing the deletion of too many lines. This wrapper class provides a solution for this case by explicitly breaking lines at the given width. -- Change-Id: I9d33e389730568ab8c15ee082594de9b35abb71c Reviewed-on: https://bazel-review.googlesource.com/#/c/3023 MOS_MIGRATED_REVID=115827354
Diffstat (limited to 'src/test/shell')
0 files changed, 0 insertions, 0 deletions